mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-15 09:57:12 +00:00
Merge pull request #421 from botovq/push-nsqmxvzmntnz
Fix clang -Wstrict-prototypes warnings
This commit is contained in:
+2
-2
@@ -271,7 +271,7 @@ ignore_read_next_entry (char *my_cfg, struct ignore *ignore)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ignore_load ()
|
ignore_load (void)
|
||||||
{
|
{
|
||||||
struct ignore *ignore;
|
struct ignore *ignore;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
@@ -302,7 +302,7 @@ ignore_load ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ignore_save ()
|
ignore_save (void)
|
||||||
{
|
{
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
int fh;
|
int fh;
|
||||||
|
|||||||
+1
-1
@@ -662,7 +662,7 @@ notify_isnotify (struct session *sess, char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
notify_cleanup ()
|
notify_cleanup (void)
|
||||||
{
|
{
|
||||||
GSList *list = notify_list;
|
GSList *list = notify_list;
|
||||||
GSList *nslist, *srvlist;
|
GSList *nslist, *srvlist;
|
||||||
|
|||||||
+3
-3
@@ -1808,7 +1808,7 @@ pevent_check_all_loaded (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
load_text_events ()
|
load_text_events (void)
|
||||||
{
|
{
|
||||||
memset (&pntevts_text, 0, sizeof (char *) * (NUM_XP));
|
memset (&pntevts_text, 0, sizeof (char *) * (NUM_XP));
|
||||||
memset (&pntevts, 0, sizeof (char *) * (NUM_XP));
|
memset (&pntevts, 0, sizeof (char *) * (NUM_XP));
|
||||||
@@ -2488,7 +2488,7 @@ sound_load_event (char *evt, char *file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
sound_load ()
|
sound_load (void)
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
char buf[512];
|
char buf[512];
|
||||||
@@ -2521,7 +2521,7 @@ sound_load ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
sound_save ()
|
sound_save (void)
|
||||||
{
|
{
|
||||||
int fd, i;
|
int fd, i;
|
||||||
char buf[512];
|
char buf[512];
|
||||||
|
|||||||
+2
-2
@@ -426,7 +426,7 @@ key_binding_is_builtin (struct key_binding *kb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
key_init ()
|
key_init (void)
|
||||||
{
|
{
|
||||||
if (key_load_kbs () == 1)
|
if (key_load_kbs () == 1)
|
||||||
{
|
{
|
||||||
@@ -1219,7 +1219,7 @@ key_dialog_load (GtkListStore *store)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
key_dialog_show ()
|
key_dialog_show (void)
|
||||||
{
|
{
|
||||||
GtkWidget *vbox, *box, *pane, *scroll;
|
GtkWidget *vbox, *box, *pane, *scroll;
|
||||||
GtkWidget *view, *xtext, *delete_button;
|
GtkWidget *view, *xtext, *delete_button;
|
||||||
|
|||||||
@@ -336,7 +336,7 @@ ignore_stats_entry (GtkWidget * box, char *label, int value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ignore_gui_open ()
|
ignore_gui_open (void)
|
||||||
{
|
{
|
||||||
GtkWidget *vbox, *box, *stat_box, *frame;
|
GtkWidget *vbox, *box, *stat_box, *frame;
|
||||||
GtkWidget *view;
|
GtkWidget *view;
|
||||||
|
|||||||
@@ -486,7 +486,7 @@ pevent_hlist_treeview_new (GtkWidget *box)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
pevent_dialog_show ()
|
pevent_dialog_show (void)
|
||||||
{
|
{
|
||||||
GtkWidget *vbox, *hbox, *wid, *pane, *preview_pane;
|
GtkWidget *vbox, *hbox, *wid, *pane, *preview_pane;
|
||||||
XTextColor xtext_palette[XTEXT_COLS];
|
XTextColor xtext_palette[XTEXT_COLS];
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ populate_cb (char *urltext, gpointer userdata)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
url_opengui ()
|
url_opengui (void)
|
||||||
{
|
{
|
||||||
GtkWidget *vbox, *hbox, *view;
|
GtkWidget *vbox, *hbox, *view;
|
||||||
char buf[128];
|
char buf[128];
|
||||||
|
|||||||
Reference in New Issue
Block a user