changeset 12397:8d1cf3f847b1

[gaim-migrate @ 14704] void prototype fix. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 08 Dec 2005 20:55:49 +0000
parents 4ee5f1e45ec2
children bd42f4d5854c
files plugins/docklet/docklet-x11.c plugins/filectl.c plugins/notify.c plugins/spellchk.c plugins/tcl/tcl_signals.c
diffstat 5 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/docklet/docklet-x11.c	Thu Dec 08 20:55:27 2005 +0000
+++ b/plugins/docklet/docklet-x11.c	Thu Dec 08 20:55:49 2005 +0000
@@ -42,7 +42,7 @@
 static int embed_timeout = 0;
 
 /* protos */
-static void docklet_x11_create();
+static void docklet_x11_create(void);
 
 static gboolean
 docklet_x11_create_cb()
--- a/plugins/filectl.c	Thu Dec 08 20:55:27 2005 +0000
+++ b/plugins/filectl.c	Thu Dec 08 20:55:49 2005 +0000
@@ -29,8 +29,8 @@
 static int check;
 static time_t mtime;
 
-static void init_file();
-static gboolean check_file();
+static void init_file(void);
+static gboolean check_file(void);
 
 /* parse char * as if were word array */
 char *getarg(char *, int, int);
--- a/plugins/notify.c	Thu Dec 08 20:55:27 2005 +0000
+++ b/plugins/notify.c	Thu Dec 08 20:55:49 2005 +0000
@@ -114,8 +114,8 @@
 static void method_toggle_cb(GtkWidget *widget, gpointer data);
 static void notify_toggle_cb(GtkWidget *widget, gpointer data);
 static gboolean options_entry_cb(GtkWidget *widget, GdkEventFocus *event, gpointer data);
-static void apply_method();
-static void apply_notify();
+static void apply_method(void);
+static void apply_notify(void);
 
 /* string function */
 static void handle_string(GaimGtkWindow *gaimwin);
--- a/plugins/spellchk.c	Thu Dec 08 20:55:27 2005 +0000
+++ b/plugins/spellchk.c	Thu Dec 08 20:55:49 2005 +0000
@@ -1737,7 +1737,7 @@
 static GtkWidget *good_entry;
 static GtkWidget *complete_toggle;
 
-static void save_list();
+static void save_list(void);
 
 static void on_edited(GtkCellRendererText *cellrenderertext,
 					  gchar *path, gchar *arg2, gpointer data)
--- a/plugins/tcl/tcl_signals.c	Thu Dec 08 20:55:27 2005 +0000
+++ b/plugins/tcl/tcl_signals.c	Thu Dec 08 20:55:49 2005 +0000
@@ -35,7 +35,7 @@
 static GList *tcl_callbacks;
 
 static void *tcl_signal_callback(va_list args, struct tcl_signal_handler *handler);
-static Tcl_Obj *new_cb_namespace ();
+static Tcl_Obj *new_cb_namespace (void);
 
 void tcl_signal_init()
 {