summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-02-18 08:57:22 -0500
committerPatrick Griffis <tingping@tingping.se>2016-02-18 08:57:22 -0500
commitaab881fda26578edb5c17a705069e55e8c612f29 (patch)
treeb78d8a2646f0b9edb08060c095b21baed29de5d3 /src/fe-gtk
parent05385f247917cae2d15f648e1983e0d82b9ae923 (diff)
Fix strict prototype warnings
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/fkeys.c4
-rw-r--r--src/fe-gtk/ignoregui.c2
-rw-r--r--src/fe-gtk/menu.c4
-rw-r--r--src/fe-gtk/plugin-tray.c4
-rw-r--r--src/fe-gtk/sexy-spell-entry.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c
index af0e149a..fe8f3e6c 100644
--- a/src/fe-gtk/fkeys.c
+++ b/src/fe-gtk/fkeys.c
@@ -94,8 +94,8 @@ struct gcomp_data
 	int elen;
 };
 
-static int key_load_kbs ();
-static int key_save_kbs ();
+static int key_load_kbs (void);
+static int key_save_kbs (void);
 static int key_action_handle_command (GtkWidget * wid, GdkEventKey * evt,
 												  char *d1, char *d2,
 												  struct session *sess);
diff --git a/src/fe-gtk/ignoregui.c b/src/fe-gtk/ignoregui.c
index a30b8cd1..08d837ec 100644
--- a/src/fe-gtk/ignoregui.c
+++ b/src/fe-gtk/ignoregui.c
@@ -306,7 +306,7 @@ ignore_new_entry_clicked (GtkWidget * wid, struct session *sess)
 }
 
 static void
-close_ignore_gui_callback ()
+close_ignore_gui_callback (void)
 {
 	ignore_save ();
 	ignorewin = 0;
diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c
index 902af92e..046e6afe 100644
--- a/src/fe-gtk/menu.c
+++ b/src/fe-gtk/menu.c
@@ -375,7 +375,7 @@ menu_quick_sub (char *name, GtkWidget *menu, GtkWidget **sub_item_ret, int flags
 }
 
 static GtkWidget *
-menu_quick_endsub ()
+menu_quick_endsub (void)
 {
 	/* Just delete the first element in the linked list pointed to by first */
 	if (submenu_list)
@@ -1259,7 +1259,7 @@ menu_quit (GtkWidget * wid, gpointer none)
 }
 
 static void
-menu_search ()
+menu_search (void)
 {
 	mg_search_toggle (current_sess);
 }
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c
index 077a7c63..ef70b032 100644
--- a/src/fe-gtk/plugin-tray.c
+++ b/src/fe-gtk/plugin-tray.c
@@ -80,7 +80,7 @@ static int tray_restore_timer = 0;
 
 
 void tray_apply_setup (void);
-static gboolean tray_menu_try_restore ();
+static gboolean tray_menu_try_restore (void);
 static void tray_cleanup (void);
 static void tray_init (void);
 
@@ -391,7 +391,7 @@ tray_menu_notify_cb (GObject *tray, GParamSpec *pspec, gpointer user_data)
 }
 
 static gboolean
-tray_menu_try_restore ()
+tray_menu_try_restore (void)
 {
 	tray_cleanup();
 	tray_init();
diff --git a/src/fe-gtk/sexy-spell-entry.c b/src/fe-gtk/sexy-spell-entry.c
index f57c7f41..45bc132c 100644
--- a/src/fe-gtk/sexy-spell-entry.c
+++ b/src/fe-gtk/sexy-spell-entry.c
@@ -155,7 +155,7 @@ spell_accumulator(GSignalInvocationHint *hint, GValue *return_accu, const GValue
 }
 
 static void
-initialize_enchant ()
+initialize_enchant (void)
 {
 	GModule *enchant;
 	gpointer funcptr;