Mercurial > pidgin
diff src/prefs.h @ 12323:fc464a0abccc
[gaim-migrate @ 14627]
Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 04 Dec 2005 18:19:56 +0000 |
parents | b6ca0e1b19d0 |
children | 8ae981f2c9cb |
line wrap: on
line diff
--- a/src/prefs.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/prefs.h Sun Dec 04 18:19:56 2005 +0000 @@ -67,7 +67,7 @@ /** * Initialize core prefs */ -void gaim_prefs_init(); +void gaim_prefs_init(void); /** * Uninitializes the prefs subsystem. @@ -139,7 +139,7 @@ /** * Remove all prefs. */ -void gaim_prefs_destroy(); +void gaim_prefs_destroy(void); /** * Set raw pref value @@ -253,12 +253,12 @@ /** * Read preferences */ -gboolean gaim_prefs_load(); +gboolean gaim_prefs_load(void); /** * Rename legacy prefs and delete some that no longer exist. */ -void gaim_prefs_update_old(); +void gaim_prefs_update_old(void); /*@}*/