From aba89b590ef0d1743dd0aa82a8b8ed1bf8809909 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 4 Jan 2019 14:24:11 +0100 Subject: Little code cleaning. Rename apiHandle to api. Add a missing parameter to QAfbWebsocketClient::call function comment. Change-Id: I6fb1acd7357fbea3132cd429e9477a1a0b8a4f43 Signed-off-by: Romain Forlot --- afb-timer.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'afb-timer.h') diff --git a/afb-timer.h b/afb-timer.h index 5050436..1d1ebb7 100644 --- a/afb-timer.h +++ b/afb-timer.h @@ -30,7 +30,6 @@ extern "C" { // ---------------------- typedef struct TimerHandleS { - int magic; int count; int delay; const char*uid; @@ -43,11 +42,10 @@ typedef struct TimerHandleS { typedef int (*timerCallbackT)(TimerHandleT *context); -extern int TimerEvtInit (afb_api_t apiHandle); -extern void TimerEvtStart(afb_api_t apiHandle, TimerHandleT *timerHandle, timerCallbackT callback, void *context); +extern void TimerEvtStart(afb_api_t api, TimerHandleT *timerHandle, timerCallbackT callback, void *context); extern void TimerEvtStop(TimerHandleT *timerHandle); -extern uint64_t LockWait(afb_api_t apiHandle, uint64_t utimeout); +extern uint64_t LockWait(afb_api_t api, uint64_t utimeout); #ifdef __cplusplus } #endif -- cgit 1.2.3-korg