Mercurial > pidgin
diff src/pluginpref.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 | 26eac2362c32 |
children | 8ae981f2c9cb |
line wrap: on
line diff
--- a/src/pluginpref.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/pluginpref.h Sun Dec 04 18:19:56 2005 +0000 @@ -52,7 +52,7 @@ * * @return a new GaimPluginPrefFrame */ -GaimPluginPrefFrame *gaim_plugin_pref_frame_new(); +GaimPluginPrefFrame *gaim_plugin_pref_frame_new(void); /** * Destroy a plugin preference frame @@ -82,7 +82,7 @@ * * @return a new GaimPluginPref */ -GaimPluginPref *gaim_plugin_pref_new(); +GaimPluginPref *gaim_plugin_pref_new(void); /** * Create a new plugin preference with name