diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-09-03 16:55:59 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-09-03 16:55:59 +0200 |
commit | 62b58a361fccec935d7940fb7ab86508ccdceb00 (patch) | |
tree | ce2b86398f9f9b96aea8c5268ab2e1db15bf8148 /staging/mops_sequence.c | |
parent | 82042e7d91732ec0710c55358d86baafe24c4756 (diff) |
mausezahn: Fix non-ANSI function declarations
ANSI C doesn't allow empty parameter list, thus use void where
appropriate. This fixes the corresponding sparse warning.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/mops_sequence.c')
-rw-r--r-- | staging/mops_sequence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/staging/mops_sequence.c b/staging/mops_sequence.c index 32e7895..900472c 100644 --- a/staging/mops_sequence.c +++ b/staging/mops_sequence.c @@ -286,7 +286,7 @@ int stop_sequence (char *name) // // RETURN VALUE: Number of stopped sequences. // -int stop_all_sequences () +int stop_all_sequences(void) { struct mz_ll *cur=packet_sequences->next; int i=0; |