Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 328c1a94 authored by Mike J. Chen's avatar Mike J. Chen
Browse files

Add macro UNUSED() to bt_utils.h



Also include bt_utils.h in some other header files commonly
included by some subsystems.

Change-Id: I1e6be2abae503c4303c92d97eeeb29981beacd10
Signed-off-by: default avatarMike J. Chen <mjchen@google.com>
parent 9e7d9778
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
	audio_a2dp_hw.c

LOCAL_C_INCLUDES+= .
LOCAL_C_INCLUDES+= . $(LOCAL_PATH)/../utils/include

LOCAL_SHARED_LIBRARIES := \
	libcutils liblog
+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ LOCAL_C_INCLUDES+= . \
                   $(LOCAL_PATH)/../hcis/patchram \
                   $(LOCAL_PATH)/../udrv/include \
                   $(LOCAL_PATH)/../brcm/include \
                   $(LOCAL_PATH)/../utils/include \
                   $(bdroid_C_INCLUDES) \


+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
#define UTL_H

#include "data_types.h"
#include "bt_utils.h"

/*****************************************************************************
**  Constants
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@

#include "data_types.h"
#include "bt_types.h"
#include "bt_utils.h"

/*******************************************************************************
**  Constants & Macros
+2 −0
Original line number Diff line number Diff line
@@ -40,4 +40,6 @@ void bt_utils_init();
void bt_utils_cleanup();
void raise_priority_a2dp(tHIGH_PRIORITY_TASK high_task);

#define UNUSED(x) (void)(x)

#endif /* BT_UTILS_H */