diff --git a/src/libespeak-ng/event.c b/src/libespeak-ng/event.c index f762bc26..c47fd641 100644 --- a/src/libespeak-ng/event.c +++ b/src/libespeak-ng/event.c @@ -66,8 +66,8 @@ static node *head = NULL; static node *tail = NULL; static int node_counter = 0; static espeak_ng_STATUS push(void *data); -static void *pop(); -static void init(); +static void *pop(void); +static void init(void); static void *polling_thread(void *); void event_set_callback(t_espeak_callback *SynthCallback) diff --git a/src/libespeak-ng/event.h b/src/libespeak-ng/event.h index 226d3c2a..262b457a 100644 --- a/src/libespeak-ng/event.h +++ b/src/libespeak-ng/event.h @@ -52,14 +52,14 @@ void event_init(void); void event_set_callback(t_espeak_callback *cb); // Clear any pending event. -espeak_ng_STATUS event_clear_all(); +espeak_ng_STATUS event_clear_all(void); // Declare a future event espeak_ng_STATUS event_declare(espeak_EVENT *event); // Terminate the event component. // Last function to be called. -void event_terminate(); +void event_terminate(void); // general functions void clock_gettime2(struct timespec *ts);