# HG changeset patch # User Richard Laager # Date 1133720396 0 # Node ID fc464a0abccc2c2fb87e2574eca63f0eebc504e6 # Parent c7ae1fd0827d51f00922a9708d86b96af9cfd249 [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 diff -r c7ae1fd0827d -r fc464a0abccc plugins/crazychat/camdata.h --- a/plugins/crazychat/camdata.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/crazychat/camdata.h Sun Dec 04 18:19:56 2005 +0000 @@ -45,19 +45,19 @@ //void BlitOneMungData(mungDataRecord *theMungData); //void AdjustColorClampEndpoints(short hMouseCoord); -//void IncrementCurrentClamp(); -//void DecrementCurrentClamp(); -void SetMungDataColorDefaults(); -CGrafPtr GetMungDataWindowPort(); +//void IncrementCurrentClamp(void); +//void DecrementCurrentClamp(void); +void SetMungDataColorDefaults(void); +CGrafPtr GetMungDataWindowPort(void); GWorldPtr GetMungDataOffscreen(void); -//OSType GetMungDataEffectType(); +//OSType GetMungDataEffectType(void); -//long GetCurrentClamp(); +//long GetCurrentClamp(void); //void SetCurrentClamp(short index); void GetMungDataBoundsRect(Rect *movieRect); -//CGrafPtr GetMungDataWindowPort(); +//CGrafPtr GetMungDataWindowPort(void); void SetMungDataDrawSeq(ImageSequence theDrawSeq); -//ImageSequence GetMungDataDrawSeq(); +//ImageSequence GetMungDataDrawSeq(void); diff -r c7ae1fd0827d -r fc464a0abccc plugins/crazychat/camproc.h --- a/plugins/crazychat/camproc.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/crazychat/camproc.h Sun Dec 04 18:19:56 2005 +0000 @@ -22,7 +22,7 @@ #include "cc_interface.h" #include "filter.h" -void Die(); +void Die(void); OSErr CamProc(struct input_instance *inst, filter_bank *bank); void QueryCam (void); diff -r c7ae1fd0827d -r fc464a0abccc plugins/crazychat/cc_gtk_gl.h --- a/plugins/crazychat/cc_gtk_gl.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/crazychat/cc_gtk_gl.h Sun Dec 04 18:19:56 2005 +0000 @@ -26,7 +26,7 @@ * Initialize the gtkglext framework for all our widgets. * @return 0 on success, non-zero on failure */ -int cc_init_gtk_gl(); +int cc_init_gtk_gl(void); /** * Create a new OpenGL enabled window diff -r c7ae1fd0827d -r fc464a0abccc plugins/crazychat/dog_lids.h --- a/plugins/crazychat/dog_lids.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/crazychat/dog_lids.h Sun Dec 04 18:19:56 2005 +0000 @@ -1,3 +1,3 @@ -void initLids(); +void initLids(void); -void drawLids(int left, int right); \ No newline at end of file +void drawLids(int left, int right); diff -r c7ae1fd0827d -r fc464a0abccc plugins/crazychat/eye.h --- a/plugins/crazychat/eye.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/crazychat/eye.h Sun Dec 04 18:19:56 2005 +0000 @@ -1,1 +1,1 @@ -GLint Gen3DObjectList(); \ No newline at end of file +GLint Gen3DObjectList(void); diff -r c7ae1fd0827d -r fc464a0abccc plugins/crazychat/eyes.h --- a/plugins/crazychat/eyes.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/crazychat/eyes.h Sun Dec 04 18:19:56 2005 +0000 @@ -1,3 +1,3 @@ -void initEyes(); +void initEyes(void); void drawEyes(GLfloat angle, GLfloat yangle); \ No newline at end of file diff -r c7ae1fd0827d -r fc464a0abccc plugins/crazychat/lids.h --- a/plugins/crazychat/lids.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/crazychat/lids.h Sun Dec 04 18:19:56 2005 +0000 @@ -1,3 +1,3 @@ -void initLids(); +void initLids(void); -void drawLid(int num); \ No newline at end of file +void drawLid(int num); diff -r c7ae1fd0827d -r fc464a0abccc plugins/crazychat/test.h --- a/plugins/crazychat/test.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/crazychat/test.h Sun Dec 04 18:19:56 2005 +0000 @@ -1,8 +1,8 @@ class Test { public: - Test(); - ~Test(); - void runTest(); + Test(void); + ~Test(void); + void runTest(void); private: asdfint fake; -}; \ No newline at end of file +}; diff -r c7ae1fd0827d -r fc464a0abccc plugins/docklet/docklet.h --- a/plugins/docklet/docklet.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/docklet/docklet.h Sun Dec 04 18:19:56 2005 +0000 @@ -37,10 +37,10 @@ struct docklet_ui_ops { - void (*create)(); - void (*destroy)(); + void (*create)(void); + void (*destroy)(void); void (*update_icon)(DockletStatus); - void (*blank_icon)(); + void (*blank_icon)(void); GtkMenuPositionFunc position_menu; }; @@ -49,12 +49,12 @@ /* functions in docklet.c */ extern void docklet_clicked(int); -extern void docklet_embedded(); +extern void docklet_embedded(void); extern void docklet_remove(gboolean); extern void docklet_set_ui_ops(struct docklet_ui_ops *); -extern void docklet_unload(); +extern void docklet_unload(void); /* function in docklet-{x11,win32}.c */ -extern void docklet_ui_init(); +extern void docklet_ui_init(void); #endif /* _DOCKLET_H_ */ diff -r c7ae1fd0827d -r fc464a0abccc plugins/gestures/gestures.c --- a/plugins/gestures/gestures.c Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/gestures/gestures.c Sun Dec 04 18:19:56 2005 +0000 @@ -112,7 +112,7 @@ } } -void +static void stroke_new_win(GtkWidget *widget, void *data) { GaimGtkWindow *new_win, *old_win; diff -r c7ae1fd0827d -r fc464a0abccc plugins/gevolution/eds-utils.c --- a/plugins/gevolution/eds-utils.c Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/gevolution/eds-utils.c Sun Dec 04 18:19:56 2005 +0000 @@ -113,7 +113,7 @@ g_object_unref(addressbooks); } -EContact * +static EContact * gevo_run_query_in_uri(const gchar *uri, EBookQuery *query) { EBook *book; diff -r c7ae1fd0827d -r fc464a0abccc plugins/mono/loader/mono-helper.h --- a/plugins/mono/loader/mono-helper.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/mono/loader/mono-helper.h Sun Dec 04 18:19:56 2005 +0000 @@ -26,9 +26,9 @@ GList *signal_data; } GaimMonoPlugin; -gboolean ml_init(); +gboolean ml_init(void); -void ml_uninit(); +void ml_uninit(void); MonoObject* ml_invoke(MonoMethod *method, void *obj, void **params); @@ -56,7 +56,7 @@ void ml_set_api_image(MonoImage *image); -MonoImage* ml_get_api_image(); +MonoImage* ml_get_api_image(void); /* hash table stuff; probably don't need it anymore */ @@ -68,6 +68,6 @@ gpointer ml_find_plugin_by_class(MonoClass *klass); -GHashTable* ml_get_plugin_hash(); +GHashTable* ml_get_plugin_hash(void); #endif diff -r c7ae1fd0827d -r fc464a0abccc plugins/tcl/tcl_gaim.h --- a/plugins/tcl/tcl_gaim.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/tcl/tcl_gaim.h Sun Dec 04 18:19:56 2005 +0000 @@ -48,7 +48,7 @@ GaimPlugin *tcl_interp_get_plugin(Tcl_Interp *interp); -void tcl_signal_init(); +void tcl_signal_init(void); void tcl_signal_handler_free(struct tcl_signal_handler *handler); void tcl_signal_cleanup(Tcl_Interp *interp); gboolean tcl_signal_connect(struct tcl_signal_handler *handler); diff -r c7ae1fd0827d -r fc464a0abccc plugins/tcl/tcl_glib.h --- a/plugins/tcl/tcl_glib.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/tcl/tcl_glib.h Sun Dec 04 18:19:56 2005 +0000 @@ -24,6 +24,6 @@ #include #include -void tcl_glib_init(); +void tcl_glib_init(void); #endif /* _GAIM_TCL_GLIB_H_ */ diff -r c7ae1fd0827d -r fc464a0abccc src/account.h --- a/src/account.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/account.h Sun Dec 04 18:19:56 2005 +0000 @@ -852,7 +852,7 @@ * You probably shouldn't call this unless you really know * what you're doing. */ -void gaim_accounts_restore_previous_statuses(); +void gaim_accounts_restore_previous_statuses(void); /*@}*/ diff -r c7ae1fd0827d -r fc464a0abccc src/blist.h --- a/src/blist.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/blist.h Sun Dec 04 18:19:56 2005 +0000 @@ -204,7 +204,7 @@ * * @return The new buddy list. */ -GaimBuddyList *gaim_blist_new(); +GaimBuddyList *gaim_blist_new(void); /** * Sets the main buddy list. @@ -233,13 +233,13 @@ /** * Shows the buddy list, creating a new one if necessary. */ -void gaim_blist_show(); +void gaim_blist_show(void); /** * Destroys the buddy list window. */ -void gaim_blist_destroy(); +void gaim_blist_destroy(void); /** * Hides or unhides the buddy list. @@ -443,7 +443,7 @@ * * @return A new contact struct */ -GaimContact *gaim_contact_new(); +GaimContact *gaim_contact_new(void); /** * Adds a new contact to the buddy list. @@ -717,7 +717,7 @@ /** * Loads the buddy list from ~/.gaim/blist.xml. */ -void gaim_blist_load(); +void gaim_blist_load(void); /** * Schedule a save of the blist.xml file. This is used by the privacy @@ -726,7 +726,7 @@ * the buddy list is saved automatically, so you should not need to * call this. */ -void gaim_blist_schedule_save(); +void gaim_blist_schedule_save(void); /** * Requests from the user information needed to add a buddy to the diff -r c7ae1fd0827d -r fc464a0abccc src/buddyicon.h --- a/src/buddyicon.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/buddyicon.h Sun Dec 04 18:19:56 2005 +0000 @@ -255,17 +255,17 @@ * * @return The subsystem handle. */ -void *gaim_buddy_icons_get_handle(); +void *gaim_buddy_icons_get_handle(void); /** * Initializes the buddy icon subsystem. */ -void gaim_buddy_icons_init(); +void gaim_buddy_icons_init(void); /** * Uninitializes the buddy icon subsystem. */ -void gaim_buddy_icons_uninit(); +void gaim_buddy_icons_uninit(void); /*@}*/ diff -r c7ae1fd0827d -r fc464a0abccc src/cipher.h --- a/src/cipher.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/cipher.h Sun Dec 04 18:19:56 2005 +0000 @@ -185,7 +185,7 @@ * @return The list of available ciphers * @note This list should not be modified, it is owned by the cipher core */ -GList *gaim_ciphers_get_ciphers(); +GList *gaim_ciphers_get_ciphers(void); /*@}*/ /******************************************************************************/ @@ -198,17 +198,17 @@ * * @return The handle to the cipher subsystem */ -gpointer gaim_ciphers_get_handle(); +gpointer gaim_ciphers_get_handle(void); /** * Initializes the cipher core */ -void gaim_ciphers_init(); +void gaim_ciphers_init(void); /** * Uninitializes the cipher core */ -void gaim_ciphers_uninit(); +void gaim_ciphers_uninit(void); /*@}*/ /******************************************************************************/ diff -r c7ae1fd0827d -r fc464a0abccc src/debug.h --- a/src/debug.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/debug.h Sun Dec 04 18:19:56 2005 +0000 @@ -145,7 +145,7 @@ * * @return TRUE if debuggin is enabled, FALSE if it is not. */ -gboolean gaim_debug_is_enabled(); +gboolean gaim_debug_is_enabled(void); /*@}*/ diff -r c7ae1fd0827d -r fc464a0abccc src/getopt.h --- a/src/getopt.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/getopt.h Sun Dec 04 18:19:56 2005 +0000 @@ -108,7 +108,7 @@ errors, only prototype getopt for the GNU C library. */ extern int getopt (int argc, char *const *argv, const char *shortopts); #else /* not __GNU_LIBRARY__ */ -extern int getopt (); +extern int getopt (void); #endif /* not __GNU_LIBRARY__ */ extern int getopt_long (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind); @@ -122,11 +122,11 @@ const struct option *longopts, int *longind, int long_only); #else /* not __STDC__ */ -extern int getopt (); -extern int getopt_long (); -extern int getopt_long_only (); +extern int getopt (void); +extern int getopt_long (void); +extern int getopt_long_only (void); -extern int _getopt_internal (); +extern int _getopt_internal (void); #endif /* not __STDC__ */ #ifdef __cplusplus diff -r c7ae1fd0827d -r fc464a0abccc src/gtkblist.h --- a/src/gtkblist.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkblist.h Sun Dec 04 18:19:56 2005 +0000 @@ -108,7 +108,7 @@ * * @return the handle to the blist system */ -void *gaim_gtk_blist_get_handle(); +void *gaim_gtk_blist_get_handle(void); /** * Initializes the GTK+ blist system. @@ -136,7 +136,7 @@ * * @return The default GTK+ buddy list */ -GaimGtkBuddyList *gaim_gtk_blist_get_default_gtk_blist(); +GaimGtkBuddyList *gaim_gtk_blist_get_default_gtk_blist(void); /** * Populates a menu with the items shown on the buddy list for a buddy. @@ -159,10 +159,10 @@ * Tells the buddy list to update its toolbar based on the preferences * */ -void gaim_gtk_blist_update_toolbar(); +void gaim_gtk_blist_update_toolbar(void); -void gaim_gtk_blist_update_columns(); -void gaim_gtk_blist_update_refresh_timeout(); +void gaim_gtk_blist_update_columns(void); +void gaim_gtk_blist_update_refresh_timeout(void); /** * Useful for the buddy ticker @@ -186,7 +186,7 @@ * list is obscured, it is brought to the front. If it is not obscured, * it is hidden. If it is hidden it is shown. */ -void gaim_gtk_blist_toggle_visibility(); +void gaim_gtk_blist_toggle_visibility(void); /** * Increases the reference count of visibility managers. Callers should @@ -196,13 +196,13 @@ * A visibility manager is something that provides some method for * showing the buddy list after it is hidden (e.g. docklet plugin). */ -void gaim_gtk_blist_visibility_manager_add(); +void gaim_gtk_blist_visibility_manager_add(void); /** * Decreases the reference count of visibility managers. If the count * drops below zero, the buddy list is shown. */ -void gaim_gtk_blist_visibility_manager_remove(); +void gaim_gtk_blist_visibility_manager_remove(void); /************************************************************************** @@ -216,7 +216,7 @@ * * @return A GSlist of sort methods */ -GList *gaim_gtk_blist_get_sort_methods(); +GList *gaim_gtk_blist_get_sort_methods(void); struct gaim_gtk_blist_sort_method { char *id; @@ -253,22 +253,22 @@ /** * Sets up the programs default sort methods */ -void gaim_gtk_blist_setup_sort_methods(); +void gaim_gtk_blist_setup_sort_methods(void); /** * Updates the accounts menu on the GTK+ buddy list window. */ -void gaim_gtk_blist_update_accounts_menu(); +void gaim_gtk_blist_update_accounts_menu(void); /** * Updates the plugin actions menu on the GTK+ buddy list window. */ -void gaim_gtk_blist_update_plugin_actions(); +void gaim_gtk_blist_update_plugin_actions(void); /** * Updates the Sorting menu on the GTK+ buddy list window. */ -void gaim_gtk_blist_update_sort_methods(); +void gaim_gtk_blist_update_sort_methods(void); /** * Determines if showing the join chat dialog is a valid action. diff -r c7ae1fd0827d -r fc464a0abccc src/gtkconvwin.h --- a/src/gtkconvwin.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkconvwin.h Sun Dec 04 18:19:56 2005 +0000 @@ -97,9 +97,9 @@ **************************************************************************/ /*@{*/ -GaimGtkWindow * gaim_gtk_conv_window_new(); +GaimGtkWindow * gaim_gtk_conv_window_new(void); void gaim_gtk_conv_window_destroy(GaimGtkWindow *win); -GList *gaim_gtk_conv_windows_get_list(); +GList *gaim_gtk_conv_windows_get_list(void); void gaim_gtk_conv_window_show(GaimGtkWindow *win); void gaim_gtk_conv_window_hide(GaimGtkWindow *win); void gaim_gtk_conv_window_raise(GaimGtkWindow *win); diff -r c7ae1fd0827d -r fc464a0abccc src/gtkdebug.h --- a/src/gtkdebug.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkdebug.h Sun Dec 04 18:19:56 2005 +0000 @@ -42,7 +42,7 @@ * * @return the handle to the debug system */ -void *gaim_gtk_debug_get_handle(); +void *gaim_gtk_debug_get_handle(void); /** * Shows the debug window. diff -r c7ae1fd0827d -r fc464a0abccc src/gtkdialogs.h --- a/src/gtkdialogs.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkdialogs.h Sun Dec 04 18:19:56 2005 +0000 @@ -30,12 +30,12 @@ #include "conversation.h" /* Functions in gtkdialogs.c (these should actually stay in this file) */ -void gaim_gtkdialogs_destroy_all(); -void gaim_gtkdialogs_about(); -void gaim_gtkdialogs_im(); +void gaim_gtkdialogs_destroy_all(void); +void gaim_gtkdialogs_about(void); +void gaim_gtkdialogs_im(void); void gaim_gtkdialogs_im_with_user(GaimAccount *, const char *); -void gaim_gtkdialogs_info(); -void gaim_gtkdialogs_log(); +void gaim_gtkdialogs_info(void); +void gaim_gtkdialogs_log(void); void gaim_gtkdialogs_alias_contact(GaimContact *); void gaim_gtkdialogs_alias_buddy(GaimBuddy *); void gaim_gtkdialogs_alias_chat(GaimChat *); diff -r c7ae1fd0827d -r fc464a0abccc src/gtkft.h --- a/src/gtkft.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkft.h Sun Dec 04 18:19:56 2005 +0000 @@ -71,7 +71,7 @@ /** * Shows the file transfer dialog, creating a new one if necessary */ -void gaim_show_xfer_dialog(); +void gaim_show_xfer_dialog(void); /** * Adds a file transfer to the dialog. diff -r c7ae1fd0827d -r fc464a0abccc src/gtkimhtml.h --- a/src/gtkimhtml.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkimhtml.h Sun Dec 04 18:19:56 2005 +0000 @@ -396,7 +396,7 @@ * * @return A new IM/HTML Scalable object. */ -GtkIMHtmlScalable *gtk_imhtml_scalable_new(); +GtkIMHtmlScalable *gtk_imhtml_scalable_new(void); /** * Creates and returns an new GTK+ IM/HTML scalable object with an image. @@ -439,7 +439,7 @@ * * @return A new IM/HTML Scalable object with an image. */ -GtkIMHtmlScalable *gtk_imhtml_hr_new(); +GtkIMHtmlScalable *gtk_imhtml_hr_new(void); /** * Destroys and frees a GTK+ IM/HTML scalable horizontal rule. diff -r c7ae1fd0827d -r fc464a0abccc src/gtklog.h --- a/src/gtklog.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtklog.h Sun Dec 04 18:19:56 2005 +0000 @@ -52,4 +52,4 @@ void gaim_gtk_log_show(GaimLogType type, const char *screenname, GaimAccount *account); void gaim_gtk_log_show_contact(GaimContact *contact); -void gaim_gtk_syslog_show(); +void gaim_gtk_syslog_show(void); diff -r c7ae1fd0827d -r fc464a0abccc src/gtkmenutray.h --- a/src/gtkmenutray.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkmenutray.h Sun Dec 04 18:19:56 2005 +0000 @@ -64,7 +64,7 @@ * * @return A new GaimGtkMenuTray */ -GtkWidget *gaim_gtk_menu_tray_new(); +GtkWidget *gaim_gtk_menu_tray_new(void); /** * Gets the box for the GaimGtkMenuTray diff -r c7ae1fd0827d -r fc464a0abccc src/gtkplugin.h --- a/src/gtkplugin.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkplugin.h Sun Dec 04 18:19:56 2005 +0000 @@ -68,6 +68,6 @@ /** * Shows the Plugins dialog */ -void gaim_gtk_plugin_dialog_show(); +void gaim_gtk_plugin_dialog_show(void); #endif /* _GAIM_GTKPLUGIN_H_ */ diff -r c7ae1fd0827d -r fc464a0abccc src/gtkprefs.h --- a/src/gtkprefs.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkprefs.h Sun Dec 04 18:19:56 2005 +0000 @@ -109,6 +109,6 @@ /** * Rename legacy prefs and delete some that no longer exist. */ -void gaim_gtk_prefs_update_old(); +void gaim_gtk_prefs_update_old(void); #endif /* _GAIM_GTKPREFS_H_ */ diff -r c7ae1fd0827d -r fc464a0abccc src/gtksession.h --- a/src/gtksession.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtksession.h Sun Dec 04 18:19:56 2005 +0000 @@ -46,7 +46,7 @@ * Unregister this instance of Gaim with the user's current session * manager. */ -void gaim_gtk_session_end(); +void gaim_gtk_session_end(void); /*@}*/ diff -r c7ae1fd0827d -r fc464a0abccc src/gtksound.h --- a/src/gtksound.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtksound.h Sun Dec 04 18:19:56 2005 +0000 @@ -58,7 +58,7 @@ * * @return The handle to the sound system */ -void *gaim_gtk_sound_get_handle(); +void *gaim_gtk_sound_get_handle(void); /*@}*/ diff -r c7ae1fd0827d -r fc464a0abccc src/gtkthemes.h --- a/src/gtkthemes.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkthemes.h Sun Dec 04 18:19:56 2005 +0000 @@ -44,10 +44,10 @@ extern struct smiley_theme *current_smiley_theme; extern GSList *smiley_themes; -extern void gaim_gtkthemes_init(); -gboolean gaim_gtkthemes_smileys_disabled(); +extern void gaim_gtkthemes_init(void); +gboolean gaim_gtkthemes_smileys_disabled(void); extern void gaim_gtkthemes_smiley_themeize(GtkWidget *); -extern void gaim_gtkthemes_smiley_theme_probe(); +extern void gaim_gtkthemes_smiley_theme_probe(void); extern void gaim_gtkthemes_load_smiley_theme(const char *file, gboolean load); extern GSList *gaim_gtkthemes_get_proto_smileys(const char *id); #endif /* _GAIM_GTKDIALOGS_H_ */ diff -r c7ae1fd0827d -r fc464a0abccc src/gtkutils.h --- a/src/gtkutils.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/gtkutils.h Sun Dec 04 18:19:56 2005 +0000 @@ -283,7 +283,7 @@ /** * Load menu accelerators */ -void gaim_gtk_load_accels(); +void gaim_gtk_load_accels(void); /** * Parses an application/x-im-contact MIME message and returns the diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/ms.h --- a/src/mediastreamer/ms.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/ms.h Sun Dec 04 18:19:56 2005 +0000 @@ -26,7 +26,7 @@ #include "mssync.h" -void ms_init(); +void ms_init(void); /* compile graphs attached to a sync source*/ int ms_compile(MSSync *source); @@ -73,8 +73,8 @@ gchar * ms_proc_get_param(gchar *parameter); -gint ms_proc_get_type(); -gint ms_proc_get_speed(); +gint ms_proc_get_type(void); +gint ms_proc_get_speed(void); diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msavdecoder.h --- a/src/mediastreamer/msavdecoder.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msavdecoder.h Sun Dec 04 18:19:56 2005 +0000 @@ -66,9 +66,9 @@ #define MS_AVDECODER(filter) ((MSAVDecoder*)(filter)) #define MS_AVDECODER_CLASS(klass) ((MSAVDecoderClass*)(klass)) -MSFilter *ms_h263_decoder_new(); -MSFilter *ms_mpeg_decoder_new(); -MSFilter *ms_mpeg4_decoder_new(); +MSFilter *ms_h263_decoder_new(void); +MSFilter *ms_mpeg_decoder_new(void); +MSFilter *ms_mpeg4_decoder_new(void); MSFilter * ms_AVdecoder_new_with_codec(enum CodecID codec_id); gint ms_AVdecoder_set_format(MSAVDecoder *dec, gchar *fmt); @@ -82,6 +82,6 @@ void ms_AVdecoder_destroy( MSAVDecoder *obj); void ms_AVdecoder_process(MSAVDecoder *r); -void ms_AVCodec_init(); +void ms_AVCodec_init(void); #endif diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msavencoder.h --- a/src/mediastreamer/msavencoder.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msavencoder.h Sun Dec 04 18:19:56 2005 +0000 @@ -67,9 +67,9 @@ #define MS_AVENCODER(filter) ((MSAVEncoder*)(filter)) #define MS_AVENCODER_CLASS(klass) ((MSAVEncoderClass*)(klass)) -MSFilter *ms_h263_encoder_new(); -MSFilter *ms_mpeg_encoder_new(); -MSFilter *ms_mpeg4_encoder_new(); +MSFilter *ms_h263_encoder_new(void); +MSFilter *ms_mpeg_encoder_new(void); +MSFilter *ms_mpeg4_encoder_new(void); MSFilter * ms_AVencoder_new_with_codec(enum CodecID codec_id, MSCodecInfo *info); gint ms_AVencoder_set_format(MSAVEncoder *enc, gchar *fmt); diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msbuffer.h --- a/src/mediastreamer/msbuffer.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msbuffer.h Sun Dec 04 18:19:56 2005 +0000 @@ -70,6 +70,6 @@ MSMessage * ms_message_dup(MSMessage *m); /* allocate a single message without buffer */ -MSMessage *ms_message_alloc(); +MSMessage *ms_message_alloc(void); #endif diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/mscodec.h --- a/src/mediastreamer/mscodec.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/mscodec.h Sun Dec 04 18:19:56 2005 +0000 @@ -52,15 +52,15 @@ /* return 0 if codec can be used with bandwidth, -1 else*/ int ms_codec_is_usable(MSCodecInfo *codec,double bandwidth); -GList * ms_codec_get_all_audio(); +GList * ms_codec_get_all_audio(void); -GList * ms_codec_get_all_video(); +GList * ms_codec_get_all_video(void); MSCodecInfo * ms_audio_codec_info_get(gchar *name); MSCodecInfo * ms_video_codec_info_get(gchar *name); /* register all statically linked codecs */ -void ms_codec_register_all(); +void ms_codec_register_all(void); #define MS_CODEC_INFO(codinfo) ((MSCodecInfo*)codinfo) diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msilbcdec.h --- a/src/mediastreamer/msilbcdec.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msilbcdec.h Sun Dec 04 18:19:56 2005 +0000 @@ -55,7 +55,7 @@ /* PUBLIC */ /* call this before if don't load the plugin dynamically */ -void ms_ilbc_codec_init(); +void ms_ilbc_codec_init(void); #define MS_ILBCDECODER(filter) ((MSILBCDecoder*)(filter)) #define MS_ILBCDECODER_CLASS(klass) ((MSILBCDecoderClass*)(klass)) diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msnosync.h --- a/src/mediastreamer/msnosync.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msnosync.h Sun Dec 04 18:19:56 2005 +0000 @@ -57,4 +57,4 @@ /* casts a MSSync class into a MSNoSync class */ #define MS_NOSYNC_CLASS(klass) ((MSNoSyncClass*)(klass)) -MSSync *ms_nosync_new(); +MSSync *ms_nosync_new(void); diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msqueue.h --- a/src/mediastreamer/msqueue.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msqueue.h Sun Dec 04 18:19:56 2005 +0000 @@ -35,7 +35,7 @@ }MSQueue; -MSQueue * ms_queue_new(); +MSQueue * ms_queue_new(void); MSMessage *ms_queue_get(MSQueue *q); diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msspeexdec.h --- a/src/mediastreamer/msspeexdec.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msspeexdec.h Sun Dec 04 18:19:56 2005 +0000 @@ -52,10 +52,10 @@ #define MS_SPEEX_DEC_CLASS(o) ((MSSpeexDecClass*)(o)) /* call this before if don't load the plugin dynamically */ -void ms_speex_codec_init(); +void ms_speex_codec_init(void); /* mediastreamer compliant constructor */ -MSFilter * ms_speex_dec_new(); +MSFilter * ms_speex_dec_new(void); void ms_speex_dec_init(MSSpeexDec *obj); void ms_speex_dec_init_core(MSSpeexDec *obj,const SpeexMode *mode); diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msspeexenc.h --- a/src/mediastreamer/msspeexenc.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msspeexenc.h Sun Dec 04 18:19:56 2005 +0000 @@ -52,7 +52,7 @@ #define MS_SPEEX_ENC_CLASS(o) ((MSSpeexEncClass*)(o)) /* generic constructor */ -MSFilter * ms_speex_enc_new(); +MSFilter * ms_speex_enc_new(void); void ms_speex_enc_init_core(MSSpeexEnc *obj,const SpeexMode *mode, gint quality); void ms_speex_enc_uninit_core(MSSpeexEnc *obj); diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/mstimer.h --- a/src/mediastreamer/mstimer.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/mstimer.h Sun Dec 04 18:19:56 2005 +0000 @@ -63,6 +63,6 @@ /* casts a MSSync class into a MSTimer class */ #define MS_TIMER_CLASS(klass) ((MSTimerClass*)(klass)) -MSSync *ms_timer_new(); +MSSync *ms_timer_new(void); #endif diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/mstruespeechencoder.h --- a/src/mediastreamer/mstruespeechencoder.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/mstruespeechencoder.h Sun Dec 04 18:19:56 2005 +0000 @@ -56,7 +56,7 @@ MSFilter * ms_truespeechencoder_new(void); /* for internal use only */ -WAVEFORMATEX* ms_truespeechencoder_wf_create(); +WAVEFORMATEX* ms_truespeechencoder_wf_create(void); #endif diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msv4l.h --- a/src/mediastreamer/msv4l.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msv4l.h Sun Dec 04 18:19:56 2005 +0000 @@ -71,7 +71,7 @@ /* PUBLIC API */ #define MS_V4L(v) ((MSV4l*)(v)) #define MS_V4L_CLASS(k) ((MSV4lClass*)(k)) -MSFilter * ms_v4l_new(); +MSFilter * ms_v4l_new(void); void ms_v4l_start(MSV4l *obj); void ms_v4l_stop(MSV4l *obj); diff -r c7ae1fd0827d -r fc464a0abccc src/mediastreamer/msvideosource.h --- a/src/mediastreamer/msvideosource.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msvideosource.h Sun Dec 04 18:19:56 2005 +0000 @@ -54,7 +54,7 @@ } MSVideoSourceClass; /* PUBLIC */ -void ms_video_source_register_all(); +void ms_video_source_register_all(void); int ms_video_source_set_device(MSVideoSource *f, const gchar *device); gchar* ms_video_source_get_device_name(MSVideoSource *f); void ms_video_source_start(MSVideoSource *f); diff -r c7ae1fd0827d -r fc464a0abccc src/mime.h --- a/src/mime.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mime.h Sun Dec 04 18:19:56 2005 +0000 @@ -52,7 +52,7 @@ /** Allocate an empty MIME document */ -GaimMimeDocument *gaim_mime_document_new(); +GaimMimeDocument *gaim_mime_document_new(void); /** Frees memory used in a MIME document and all of its parts and fields diff -r c7ae1fd0827d -r fc464a0abccc src/notify.h --- a/src/notify.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/notify.h Sun Dec 04 18:19:56 2005 +0000 @@ -194,7 +194,7 @@ * * @return The new search results object. */ -GaimNotifySearchResults *gaim_notify_searchresults_new(); +GaimNotifySearchResults *gaim_notify_searchresults_new(void); /** * Returns a newly created search result column object. diff -r c7ae1fd0827d -r fc464a0abccc src/plugin.h --- a/src/plugin.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/plugin.h Sun Dec 04 18:19:56 2005 +0000 @@ -172,6 +172,7 @@ */ #if !defined(GAIM_PLUGINS) || defined(GAIM_STATIC_PRPL) # define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \ + gboolean gaim_init_##pluginname##_plugin(void);\ gboolean gaim_init_##pluginname##_plugin(void) { \ GaimPlugin *plugin = gaim_plugin_new(TRUE, NULL); \ plugin->info = &(plugininfo); \ @@ -180,6 +181,7 @@ } #else /* GAIM_PLUGINS && !GAIM_STATIC_PRPL */ # define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \ + G_MODULE_EXPORT gboolean gaim_init_plugin(GaimPlugin *plugin); \ G_MODULE_EXPORT gboolean gaim_init_plugin(GaimPlugin *plugin) { \ plugin->info = &(plugininfo); \ initfunc((plugin)); \ diff -r c7ae1fd0827d -r fc464a0abccc src/pluginpref.h --- 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 diff -r c7ae1fd0827d -r fc464a0abccc src/prefs.h --- 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); /*@}*/ diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/bonjour/dns_sd.h --- a/src/protocols/bonjour/dns_sd.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/bonjour/dns_sd.h Sun Dec 04 18:19:56 2005 +0000 @@ -57,7 +57,7 @@ /** * Allocate space for the dns-sd data. */ -BonjourDnsSd *bonjour_dns_sd_new(); +BonjourDnsSd *bonjour_dns_sd_new(void); /** * Deallocate the space of the dns-sd data. diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/gg/lib/dcc.c --- a/src/protocols/gg/lib/dcc.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/gg/lib/dcc.c Sun Dec 04 18:19:56 2005 +0000 @@ -1,4 +1,4 @@ -/* $Id: dcc.c 14520 2005-11-25 00:32:45Z rlaager $ */ +/* $Id: dcc.c 14627 2005-12-04 18:19:56Z rlaager $ */ /* * (C) Copyright 2001-2002 Wojtek Kaniewski @@ -94,7 +94,7 @@ * - unix - czas w postaci unixowej * - filetime - czas w postaci windowsowej */ -void gg_dcc_fill_filetime(uint32_t ut, uint32_t *ft) +static void gg_dcc_fill_filetime(uint32_t ut, uint32_t *ft) { #ifdef __GG_LIBGADU_HAVE_LONG_LONG unsigned long long tmp; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/gg/search.h --- a/src/protocols/gg/search.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/gg/search.h Sun Dec 04 18:19:56 2005 +0000 @@ -53,7 +53,7 @@ * @return Newly allocated GGPSearchForm. */ GGPSearchForm * -ggp_search_form_new(); +ggp_search_form_new(void); /** * Initiate a search in the public directory. diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/irc/dcc_send.c --- a/src/protocols/irc/dcc_send.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/irc/dcc_send.c Sun Dec 04 18:19:56 2005 +0000 @@ -214,7 +214,7 @@ } } -gssize irc_dccsend_send_write(const guchar *buffer, size_t size, GaimXfer *xfer) +static gssize irc_dccsend_send_write(const guchar *buffer, size_t size, GaimXfer *xfer) { gssize s; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/irc/irc.c --- a/src/protocols/irc/irc.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/irc/irc.c Sun Dec 04 18:19:56 2005 +0000 @@ -210,7 +210,7 @@ return m; } -GHashTable *irc_chat_info_defaults(GaimConnection *gc, const char *chat_name) +static GHashTable *irc_chat_info_defaults(GaimConnection *gc, const char *chat_name) { GHashTable *defaults; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/jabber/buddy.c --- a/src/protocols/jabber/buddy.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/jabber/buddy.c Sun Dec 04 18:19:56 2005 +0000 @@ -1016,7 +1016,7 @@ } -GList *jabber_buddy_menu(GaimBuddy *buddy) +static GList *jabber_buddy_menu(GaimBuddy *buddy) { GaimConnection *gc = gaim_account_get_connection(buddy->account); JabberStream *js = gc->proto_data; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/jabber/chat.c --- a/src/protocols/jabber/chat.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/jabber/chat.c Sun Dec 04 18:19:56 2005 +0000 @@ -113,7 +113,7 @@ JabberChat *chat; }; -void find_by_id_foreach_cb(gpointer key, gpointer value, gpointer user_data) +static void find_by_id_foreach_cb(gpointer key, gpointer value, gpointer user_data) { JabberChat *chat = value; struct _find_by_id_data *fbid = user_data; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/jabber/oob.c --- a/src/protocols/jabber/oob.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/jabber/oob.c Sun Dec 04 18:19:56 2005 +0000 @@ -149,7 +149,7 @@ jabber_oob_xfer_recv_error(xfer, "404"); } -void jabber_oob_parse(JabberStream *js, xmlnode *packet) { +static void jabber_oob_parse(JabberStream *js, xmlnode *packet) { JabberOOBXfer *jox; GaimXfer *xfer; char *filename; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/dialog.c --- a/src/protocols/msn/dialog.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/dialog.c Sun Dec 04 18:19:56 2005 +0000 @@ -69,7 +69,7 @@ g_free(data); } -void +static void msn_show_sync_issue(MsnSession *session, const char *passport, const char *group_name) { diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/directconn.c --- a/src/protocols/msn/directconn.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/directconn.c Sun Dec 04 18:19:56 2005 +0000 @@ -160,7 +160,7 @@ return fd; } -size_t +static size_t msn_directconn_write(MsnDirectConn *directconn, const char *data, size_t len) { @@ -259,7 +259,7 @@ msn_directconn_write(directconn, body, body_len); } -void +static void msn_directconn_process_msg(MsnDirectConn *directconn, MsnMessage *msg) { gaim_debug_info("msn", "directconn: process_msg\n"); diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/httpconn.c --- a/src/protocols/msn/httpconn.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/httpconn.c Sun Dec 04 18:19:56 2005 +0000 @@ -159,7 +159,7 @@ return s; } -void +static void msn_httpconn_poll(MsnHttpConn *httpconn) { char *header; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/msn.c --- a/src/protocols/msn/msn.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/msn.c Sun Dec 04 18:19:56 2005 +0000 @@ -1077,7 +1077,7 @@ msn_userlist_add_buddy(userlist, who, MSN_LIST_BL, NULL); } -void +static void msn_rem_deny(GaimConnection *gc, const char *who) { MsnSession *session; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/object.c --- a/src/protocols/msn/object.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/object.c Sun Dec 04 18:19:56 2005 +0000 @@ -276,7 +276,7 @@ return obj->sha1c; } -MsnObject * +static MsnObject * msn_object_find_local(const char *sha1c) { GList *l; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/object.h --- a/src/protocols/msn/object.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/object.h Sun Dec 04 18:19:56 2005 +0000 @@ -57,7 +57,7 @@ * * @return A new MsnObject structure. */ -MsnObject *msn_object_new(); +MsnObject *msn_object_new(void); /** * Creates a MsnObject structure from a string. diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/slp.c --- a/src/protocols/msn/slp.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/slp.c Sun Dec 04 18:19:56 2005 +0000 @@ -873,7 +873,7 @@ return FALSE; } -void +static void msn_release_buddy_icon_request(MsnUserList *userlist) { MsnUser *user; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/slpsession.c --- a/src/protocols/msn/slpsession.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/slpsession.c Sun Dec 04 18:19:56 2005 +0000 @@ -61,7 +61,7 @@ g_free(slpsession); } -void +static void msn_slp_session_send_slpmsg(MsnSlpSession *slpsession, MsnSlpMessage *slpmsg) { slpmsg->slpsession = slpsession; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/switchboard.c --- a/src/protocols/msn/switchboard.c Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/switchboard.c Sun Dec 04 18:19:56 2005 +0000 @@ -206,7 +206,7 @@ msn_message_destroy(msg); } -void +static void msn_switchboard_add_user(MsnSwitchBoard *swboard, const char *user) { MsnCmdProc *cmdproc; @@ -302,7 +302,7 @@ } } -GaimConversation * +static GaimConversation * msn_switchboard_get_conv(MsnSwitchBoard *swboard) { GaimAccount *account; @@ -321,7 +321,7 @@ swboard->im_user, account); } -void +static void msn_switchboard_report_user(MsnSwitchBoard *swboard, GaimMessageFlags flags, const char *msg) { GaimConversation *conv; diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/msn/table.h --- a/src/protocols/msn/table.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/msn/table.h Sun Dec 04 18:19:56 2005 +0000 @@ -42,7 +42,7 @@ GHashTable *fallback; }; -MsnTable *msn_table_new(); +MsnTable *msn_table_new(void); void msn_table_destroy(MsnTable *table); void msn_table_add_cmd(MsnTable *table, char *command, char *answer, diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/novell/nmcontact.h --- a/src/protocols/novell/nmcontact.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/novell/nmcontact.h Sun Dec 04 18:19:56 2005 +0000 @@ -38,7 +38,7 @@ * @return The new NMContact * */ -NMContact *nm_create_contact(); +NMContact *nm_create_contact(void); /** * Creates a contact from a field array representing the diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/novell/nmrtf.h --- a/src/protocols/novell/nmrtf.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/novell/nmrtf.h Sun Dec 04 18:19:56 2005 +0000 @@ -23,7 +23,7 @@ typedef struct _NMRtfContext NMRtfContext; -NMRtfContext *nm_rtf_init(); +NMRtfContext *nm_rtf_init(void); char *nm_rtf_strip_formatting(NMRtfContext *ctx, const char *input); void nm_rtf_deinit(NMRtfContext *ctx); diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/novell/nmuserrecord.h --- a/src/protocols/novell/nmuserrecord.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/novell/nmuserrecord.h Sun Dec 04 18:19:56 2005 +0000 @@ -38,7 +38,7 @@ * @return The new user record * */ -NMUserRecord *nm_create_user_record(); +NMUserRecord *nm_create_user_record(void); /** * Creates an NMUserRecord diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/sametime/meanwhile/mw_cipher.h --- a/src/protocols/sametime/meanwhile/mw_cipher.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/sametime/meanwhile/mw_cipher.h Sun Dec 04 18:19:56 2005 +0000 @@ -78,8 +78,8 @@ struct mwSession *session; guint16 type; /**< @see mwCipher_getType */ - const char *(*get_name)(); /**< @see mwCipher_getName */ - const char *(*get_desc)(); /**< @see mwCipher_getDesc */ + const char *(*get_name)(void); /**< @see mwCipher_getName */ + const char *(*get_desc)(void); /**< @see mwCipher_getDesc */ /** Generate a new Cipher Instance for use on a channel @see mwCipher_newInstance */ @@ -252,7 +252,7 @@ /** prepare a new mpi value */ -struct mwMpi *mwMpi_new(); +struct mwMpi *mwMpi_new(void); /** destroy an mpi value */ diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/sametime/meanwhile/mw_common.h --- a/src/protocols/sametime/meanwhile/mw_common.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/sametime/meanwhile/mw_common.h Sun Dec 04 18:19:56 2005 +0000 @@ -219,7 +219,7 @@ /** allocate a new empty buffer */ -struct mwPutBuffer *mwPutBuffer_new(); +struct mwPutBuffer *mwPutBuffer_new(void); /** write raw data to the put buffer */ diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/sametime/meanwhile/mw_st_list.h --- a/src/protocols/sametime/meanwhile/mw_st_list.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/sametime/meanwhile/mw_st_list.h Sun Dec 04 18:19:56 2005 +0000 @@ -65,7 +65,7 @@ /** Create a new list */ -struct mwSametimeList *mwSametimeList_new(); +struct mwSametimeList *mwSametimeList_new(void); /** Free the list, all of its groups, and all of the groups' members */ diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/silc/silcgaim.h --- a/src/protocols/silc/silcgaim.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/silc/silcgaim.h Sun Dec 04 18:19:56 2005 +0000 @@ -163,8 +163,8 @@ }; struct passwd *getpwuid(int uid); -int getuid(); -int geteuid(); +int getuid(void); +int geteuid(void); #endif #endif /* SILCGAIM_H */ diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/yahoo/yahoo.h --- a/src/protocols/yahoo/yahoo.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/yahoo/yahoo.h Sun Dec 04 18:19:56 2005 +0000 @@ -145,8 +145,8 @@ (((*((buf)+3) )&0x000000ff))) /* util.c */ -void yahoo_init_colorht(); -void yahoo_dest_colorht(); +void yahoo_init_colorht(void); +void yahoo_dest_colorht(void); char *yahoo_codes_to_html(const char *x); char *yahoo_html_to_codes(const char *src); diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/zephyr/error_table.h --- a/src/protocols/zephyr/error_table.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/zephyr/error_table.h Sun Dec 04 18:19:56 2005 +0000 @@ -20,6 +20,6 @@ #define ERRCODE_RANGE 8 /* # of bits to shift table number */ #define BITS_PER_CHAR 6 /* # bits to shift per character in name */ -extern const char *error_table_name(); +extern const char *error_table_name(void); #define _ET_H #endif diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/zephyr/sysdep.h --- a/src/protocols/zephyr/sysdep.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/zephyr/sysdep.h Sun Dec 04 18:19:56 2005 +0000 @@ -32,11 +32,11 @@ # ifdef HAVE_MALLOC_H # include # else -char *malloc(), *realloc(); +char *malloc(), *realloc(void); # endif -char *getenv(), *strerror(), *ctime(), *strcpy(); -time_t time(); -ZEPHYR_INT32 random(); +char *getenv(), *strerror(), *ctime(), *strcpy(void); +time_t time(void); +ZEPHYR_INT32 random(void); #endif #ifndef HAVE_RANDOM @@ -62,7 +62,7 @@ # define strchr index # define strrchr rindex # endif -char *strchr(), *strrchr(); +char *strchr(), *strrchr(void); # ifndef HAVE_MEMCPY # define memcpy(d, s, n) bcopy ((s), (d), (n)) # define memcmp bcmp @@ -131,10 +131,10 @@ # ifdef HAVE_SYS_FILE_H # include # endif -uid_t getuid(); -char *ttyname(); +uid_t getuid(void); +char *ttyname(void); #ifdef HAVE_GETHOSTID -ZEPHYR_INT32 gethostid(); +ZEPHYR_INT32 gethostid(void); #endif #endif diff -r c7ae1fd0827d -r fc464a0abccc src/protocols/zephyr/zephyr_err.h --- a/src/protocols/zephyr/zephyr_err.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/zephyr/zephyr_err.h Sun Dec 04 18:19:56 2005 +0000 @@ -25,7 +25,7 @@ #define ZERR_NOMORESUBSCRIPTIONS (-772103660L) #define ZERR_TOOMANYSUBS (-772103659L) #define ZERR_EOF (-772103658L) -extern void initialize_zeph_error_table (); +extern void initialize_zeph_error_table (void); #define ERROR_TABLE_BASE_zeph (-772103680L) /* for compatibility with older versions... */ diff -r c7ae1fd0827d -r fc464a0abccc src/proxy.h --- a/src/proxy.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/proxy.h Sun Dec 04 18:19:56 2005 +0000 @@ -73,7 +73,7 @@ * * @return the handle to the proxy system */ -void *gaim_proxy_get_handle(); +void *gaim_proxy_get_handle(void); /** * Creates a proxy information structure. diff -r c7ae1fd0827d -r fc464a0abccc src/savedstatuses.h --- a/src/savedstatuses.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/savedstatuses.h Sun Dec 04 18:19:56 2005 +0000 @@ -156,7 +156,7 @@ * * @return A pointer to the in-use GaimSavedStatus. */ -GaimSavedStatus *gaim_savedstatus_get_current(); +GaimSavedStatus *gaim_savedstatus_get_current(void); /** * Returns the saved status that gets used when your @@ -164,7 +164,7 @@ * * @return A pointer to the idle-away GaimSavedStatus. */ -GaimSavedStatus *gaim_savedstatus_get_idleaway(); +GaimSavedStatus *gaim_savedstatus_get_idleaway(void); /** * Finds a saved status with the specified title. @@ -306,7 +306,7 @@ * * @return the handle to the status subsystem */ -void *gaim_savedstatuses_get_handle(); +void *gaim_savedstatuses_get_handle(void); /** * Initializes the status subsystem. diff -r c7ae1fd0827d -r fc464a0abccc src/signals.h --- a/src/signals.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/signals.h Sun Dec 04 18:19:56 2005 +0000 @@ -257,12 +257,12 @@ /** * Initializes the signals subsystem. */ -void gaim_signals_init(); +void gaim_signals_init(void); /** * Uninitializes the signals subsystem. */ -void gaim_signals_uninit(); +void gaim_signals_uninit(void); /*@}*/ diff -r c7ae1fd0827d -r fc464a0abccc src/status.h --- a/src/status.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/status.h Sun Dec 04 18:19:56 2005 +0000 @@ -995,7 +995,7 @@ * * @return the handle to the status subsystem */ -void *gaim_status_get_handle(); +void *gaim_status_get_handle(void); /** * Initializes the status subsystem. diff -r c7ae1fd0827d -r fc464a0abccc src/stun.h --- a/src/stun.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/stun.h Sun Dec 04 18:19:56 2005 +0000 @@ -76,7 +76,7 @@ */ struct stun_nattype *gaim_stun_discover(StunCallback cb); -void gaim_stun_init(); +void gaim_stun_init(void); /*@}*/ diff -r c7ae1fd0827d -r fc464a0abccc src/win32/IdleTracker/idletrack.h --- a/src/win32/IdleTracker/idletrack.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/win32/IdleTracker/idletrack.h Sun Dec 04 18:19:56 2005 +0000 @@ -3,6 +3,6 @@ */ #include -extern DWORD wgaim_get_lastactive(); -extern BOOL wgaim_set_idlehooks(); -extern void wgaim_remove_idlehooks(); +extern DWORD wgaim_get_lastactive(void); +extern BOOL wgaim_set_idlehooks(void); +extern void wgaim_remove_idlehooks(void); diff -r c7ae1fd0827d -r fc464a0abccc src/win32/wspell.h --- a/src/win32/wspell.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/win32/wspell.h Sun Dec 04 18:19:56 2005 +0000 @@ -24,7 +24,7 @@ #define _WSPELL_H_ #include -extern void wgaim_gtkspell_init(); +extern void wgaim_gtkspell_init(void); extern GtkSpell* (*wgaim_gtkspell_new_attach)(GtkTextView*, const gchar*, GError**); #define gtkspell_new_attach( view, lang, error ) \