mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-18 19:07:14 +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
|
||||
ignore_load ()
|
||||
ignore_load (void)
|
||||
{
|
||||
struct ignore *ignore;
|
||||
struct stat st;
|
||||
@@ -302,7 +302,7 @@ ignore_load ()
|
||||
}
|
||||
|
||||
void
|
||||
ignore_save ()
|
||||
ignore_save (void)
|
||||
{
|
||||
char buf[1024];
|
||||
int fh;
|
||||
|
||||
+1
-1
@@ -662,7 +662,7 @@ notify_isnotify (struct session *sess, char *name)
|
||||
}
|
||||
|
||||
void
|
||||
notify_cleanup ()
|
||||
notify_cleanup (void)
|
||||
{
|
||||
GSList *list = notify_list;
|
||||
GSList *nslist, *srvlist;
|
||||
|
||||
+3
-3
@@ -1808,7 +1808,7 @@ pevent_check_all_loaded (void)
|
||||
}
|
||||
|
||||
void
|
||||
load_text_events ()
|
||||
load_text_events (void)
|
||||
{
|
||||
memset (&pntevts_text, 0, sizeof (char *) * (NUM_XP));
|
||||
memset (&pntevts, 0, sizeof (char *) * (NUM_XP));
|
||||
@@ -2488,7 +2488,7 @@ sound_load_event (char *evt, char *file)
|
||||
}
|
||||
|
||||
void
|
||||
sound_load ()
|
||||
sound_load (void)
|
||||
{
|
||||
int fd;
|
||||
char buf[512];
|
||||
@@ -2521,7 +2521,7 @@ sound_load ()
|
||||
}
|
||||
|
||||
void
|
||||
sound_save ()
|
||||
sound_save (void)
|
||||
{
|
||||
int fd, i;
|
||||
char buf[512];
|
||||
|
||||
Reference in New Issue
Block a user