mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 09:10:20 +00:00
Fix strict prototype warnings
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -155,7 +155,7 @@ spell_accumulator(GSignalInvocationHint *hint, GValue *return_accu, const GValue
|
||||
}
|
||||
|
||||
static void
|
||||
initialize_enchant ()
|
||||
initialize_enchant (void)
|
||||
{
|
||||
GModule *enchant;
|
||||
gpointer funcptr;
|
||||
|
||||
Reference in New Issue
Block a user