summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-11-26 17:48:01 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-11-26 17:51:50 +0100
commit5d8d96964a4a694880e5ed894916753240f79dee (patch)
tree54efc1872c67b3336811811f55047d999465309b
parent75b3ce919c725cc394600683ef149302eb6db7c9 (diff)
elm_prefcs_cc: correct declaration of function with no parameters
We have to use void in a function declaration if we want no function parameters. Using just empty parenthesis means the function takes an unspecified number of parameters. We had it correct for most declarations and this series fixes it for the rest. Thanks for the sparse semantic parser for pointing this out.
-rw-r--r--src/bin/elm_prefs_cc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/elm_prefs_cc.h b/src/bin/elm_prefs_cc.h
index 716f17435..ef848babc 100644
--- a/src/bin/elm_prefs_cc.h
+++ b/src/bin/elm_prefs_cc.h
@@ -79,9 +79,9 @@ void check_arg_count(int n);
79void check_regex(const char *regex); 79void check_regex(const char *regex);
80void set_verbatim(char *s, int l1, int l2); 80void set_verbatim(char *s, int l1, int l2);
81 81
82void data_init(); 82void data_init(void);
83void data_write(); 83void data_write(void);
84void data_shutdown(); 84void data_shutdown(void);
85 85
86int object_handler_num(void); 86int object_handler_num(void);
87int statement_handler_num(void); 87int statement_handler_num(void);