stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=5d8d96964a4a694880e5ed894916753240f79dee

commit 5d8d96964a4a694880e5ed894916753240f79dee
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Thu Nov 26 17:48:01 2015 +0100

    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.
---
 src/bin/elm_prefs_cc.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/elm_prefs_cc.h b/src/bin/elm_prefs_cc.h
index 716f174..ef848ba 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);
 void    check_regex(const char *regex);
 void    set_verbatim(char *s, int l1, int l2);
 
-void    data_init();
-void    data_write();
-void    data_shutdown();
+void    data_init(void);
+void    data_write(void);
+void    data_shutdown(void);
 
 int     object_handler_num(void);
 int     statement_handler_num(void);

-- 


Reply via email to