changeset 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 c7ae1fd0827d
children 90f488e08216
files plugins/crazychat/camdata.h plugins/crazychat/camproc.h plugins/crazychat/cc_gtk_gl.h plugins/crazychat/dog_lids.h plugins/crazychat/eye.h plugins/crazychat/eyes.h plugins/crazychat/lids.h plugins/crazychat/test.h plugins/docklet/docklet.h plugins/gestures/gestures.c plugins/gevolution/eds-utils.c plugins/mono/loader/mono-helper.h plugins/tcl/tcl_gaim.h plugins/tcl/tcl_glib.h src/account.h src/blist.h src/buddyicon.h src/cipher.h src/debug.h src/getopt.h src/gtkblist.h src/gtkconvwin.h src/gtkdebug.h src/gtkdialogs.h src/gtkft.h src/gtkimhtml.h src/gtklog.h src/gtkmenutray.h src/gtkplugin.h src/gtkprefs.h src/gtksession.h src/gtksound.h src/gtkthemes.h src/gtkutils.h src/mediastreamer/ms.h src/mediastreamer/msavdecoder.h src/mediastreamer/msavencoder.h src/mediastreamer/msbuffer.h src/mediastreamer/mscodec.h src/mediastreamer/msilbcdec.h src/mediastreamer/msnosync.h src/mediastreamer/msqueue.h src/mediastreamer/msspeexdec.h src/mediastreamer/msspeexenc.h src/mediastreamer/mstimer.h src/mediastreamer/mstruespeechencoder.h src/mediastreamer/msv4l.h src/mediastreamer/msvideosource.h src/mime.h src/notify.h src/plugin.h src/pluginpref.h src/prefs.h src/protocols/bonjour/dns_sd.h src/protocols/gg/lib/dcc.c src/protocols/gg/search.h src/protocols/irc/dcc_send.c src/protocols/irc/irc.c src/protocols/jabber/buddy.c src/protocols/jabber/chat.c src/protocols/jabber/oob.c src/protocols/msn/dialog.c src/protocols/msn/directconn.c src/protocols/msn/httpconn.c src/protocols/msn/msn.c src/protocols/msn/object.c src/protocols/msn/object.h src/protocols/msn/slp.c src/protocols/msn/slpsession.c src/protocols/msn/switchboard.c src/protocols/msn/table.h src/protocols/novell/nmcontact.h src/protocols/novell/nmrtf.h src/protocols/novell/nmuserrecord.h src/protocols/sametime/meanwhile/mw_cipher.h src/protocols/sametime/meanwhile/mw_common.h src/protocols/sametime/meanwhile/mw_st_list.h src/protocols/silc/silcgaim.h src/protocols/yahoo/yahoo.h src/protocols/zephyr/error_table.h src/protocols/zephyr/sysdep.h src/protocols/zephyr/zephyr_err.h src/proxy.h src/savedstatuses.h src/signals.h src/status.h src/stun.h src/win32/IdleTracker/idletrack.h src/win32/wspell.h
diffstat 89 files changed, 178 insertions(+), 176 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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);
 
--- 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
--- 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);
--- 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);
--- 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
--- 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);
--- 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
+};
--- 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_ */
--- 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;
--- 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;
--- 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
--- 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);
--- 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 <tcl.h>
 #include <glib.h>
 
-void tcl_glib_init();
+void tcl_glib_init(void);
 
 #endif /* _GAIM_TCL_GLIB_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);
 
 /*@}*/
 
--- 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
--- 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);
 
 /*@}*/
 
--- 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);
 
 /*@}*/
 /******************************************************************************/
--- 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);
 
 /*@}*/
 
--- 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
--- 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.
--- 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);
--- 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.
--- 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 *);
--- 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.
--- 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.
--- 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);
--- 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
--- 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_ */
--- 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_ */
--- 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);
 
 /*@}*/
 
--- 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);
 
 /*@}*/
 
--- 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_ */
--- 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
--- 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);
 
 
 
--- 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
--- 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);
--- 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
--- 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)
 
--- 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))
--- 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);
--- 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);
 
--- 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);
--- 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);
--- 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
--- 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
--- 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);
--- 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);
--- 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
--- 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.
--- 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)); \
--- 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
--- 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);
 
 /*@}*/
 
--- 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.
--- 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 <wojtekka@irc.pl>
@@ -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;
--- 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.
--- 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;
 
--- 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;
 
--- 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;
--- 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;
--- 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;
--- 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)
 {
--- 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");
--- 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;
--- 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;
--- 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;
--- 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.
--- 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;
--- 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;
--- 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;
--- 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,
--- 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
--- 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);
 
--- 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
--- 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 */
--- 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 */
--- 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 */
--- 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 */
--- 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);
 
--- 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
--- 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 <malloc.h>
 # 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 <sys/file.h>
 # 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
 
--- 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... */
--- 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.
--- 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.
--- 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);
 
 /*@}*/
 
--- 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.
--- 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);
 
 /*@}*/
 
--- 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 <windows.h>
 
-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);
--- 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 <gtkspell/gtkspell.h>
 
-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 ) \