Fix type mismatch with timer callback signature. am: 24d616fd34
am: 8560a384a8
Change-Id: I4365a5ba91874d2f07dcc34068be8e298a6c948c
diff --git a/src/gki/common/gki.h b/src/gki/common/gki.h
index f1284c0..a6aa2e3 100644
--- a/src/gki/common/gki.h
+++ b/src/gki/common/gki.h
@@ -294,19 +294,20 @@
/* Timer list entry callback type
*/
-typedef void(TIMER_CBACK)(void* p_tle);
+struct TIMER_LIST_ENT;
+typedef void(TIMER_CBACK)(TIMER_LIST_ENT* p_tle);
/* Define a timer list entry
*/
-typedef struct _tle {
- struct _tle* p_next;
- struct _tle* p_prev;
+struct TIMER_LIST_ENT {
+ TIMER_LIST_ENT* p_next;
+ TIMER_LIST_ENT* p_prev;
TIMER_CBACK* p_cback;
int32_t ticks;
uintptr_t param;
uint16_t event;
uint8_t in_use;
-} TIMER_LIST_ENT;
+};
/* Define a timer list queue
*/