Revert "Fix the 64bit build error for g_memdup" 22/268422/1
authordh79pyun <dh79.pyun@samsung.com>
Wed, 22 Dec 2021 23:17:19 +0000 (08:17 +0900)
committerdh79pyun <dh79.pyun@samsung.com>
Wed, 22 Dec 2021 23:17:52 +0000 (08:17 +0900)
This reverts commit 98c664c20bd85ef09e9eb8c94235d37a9172d4f9.

Change-Id: Ifa0b40080c257205012a642e5059a765f169f402
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
plugins/policy.c
profiles/audio/avctp.c
src/adapter_le_vsc_features.c
src/log.h

index fe4aef2..0eca6b4 100755 (executable)
 #include "src/hcid.h"
 
 #ifdef TIZEN_FEATURE_BLUEZ_MODIFY
-#include "tizen_def.h"
-#endif
-
-#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
 #define CONTROL_CONNECT_TIMEOUT 4
 #define TARGET_CONNECT_TIMEOUT 1
 #else
index 2666c5d..e194bf5 100644 (file)
 #include "avctp.h"
 #include "avrcp.h"
 
-#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
-#include "tizen_def.h"
-#endif
-
 /* AV/C Panel 1.23, page 76:
  * command with the pressed value is valid for two seconds
  */
index 660dcbd..dbfe015 100755 (executable)
@@ -2,9 +2,9 @@
 
 #include <errno.h>
 
+#include "log.h"
 #include "adapter.h"
 #include "eir.h"
-#include "log.h"
 
 #include "../profile.h"
 #include "adapter_le_vsc_features.h"
index 1662e56..e62f5aa 100755 (executable)
--- a/src/log.h
+++ b/src/log.h
 
 #include <stdint.h>
 
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+#include "tizen_def.h"
+#endif
+
 void info(const char *format, ...) __attribute__((format(printf, 1, 2)));
 
 void btd_log(uint16_t index, int priority, const char *format, ...)