From 6d168ead228bbe6a75243218ab4b14698e1f798b Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Fri, 6 Oct 2017 07:09:41 +0100 Subject: [PATCH] fifo.c: Fix -Wmissing-prototypes warnings. --- src/libespeak-ng/fifo.c | 2 +- src/libespeak-ng/fifo.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libespeak-ng/fifo.c b/src/libespeak-ng/fifo.c index 6076492b..21b0de25 100644 --- a/src/libespeak-ng/fifo.c +++ b/src/libespeak-ng/fifo.c @@ -58,7 +58,7 @@ static int my_stop_is_acknowledged = 0; static void *say_thread(void *); static espeak_ng_STATUS push(t_espeak_command *the_command); -static t_espeak_command *pop(); +static t_espeak_command *pop(void); static void init(int process_parameters); static int node_counter = 0; diff --git a/src/libespeak-ng/fifo.h b/src/libespeak-ng/fifo.h index 2b491441..7d5c001e 100644 --- a/src/libespeak-ng/fifo.h +++ b/src/libespeak-ng/fifo.h @@ -29,7 +29,7 @@ extern "C" // Initialize the fifo component. // First function to be called. -void fifo_init(); +void fifo_init(void); // Add an espeak command. // @@ -44,15 +44,15 @@ espeak_ng_STATUS fifo_add_command(t_espeak_command *c); espeak_ng_STATUS fifo_add_commands(t_espeak_command *c1, t_espeak_command *c2); // The current running command must be stopped and the awaiting commands are cleared. -espeak_ng_STATUS fifo_stop(); +espeak_ng_STATUS fifo_stop(void); // Is there a running command? // Returns 1 if yes; 0 otherwise. -int fifo_is_busy(); +int fifo_is_busy(void); // Terminate the fifo component. // Last function to be called. -void fifo_terminate(); +void fifo_terminate(void); // Indicates if the running command is still enabled. // @@ -61,7 +61,7 @@ void fifo_terminate(); // stopping speech as soon as a cancel command is applied. // // Returns 1 if yes, or 0 otherwise. -int fifo_is_command_enabled(); +int fifo_is_command_enabled(void); #ifdef __cplusplus }