mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-16 02:30:19 +00:00
Fix strict prototype warnings
This commit is contained in:
@@ -83,7 +83,7 @@ static gboolean dcc_send_data (GIOChannel *, GIOCondition, struct DCC *);
|
||||
static gboolean dcc_read (GIOChannel *, GIOCondition, struct DCC *);
|
||||
static gboolean dcc_read_ack (GIOChannel *source, GIOCondition condition, struct DCC *dcc);
|
||||
|
||||
static int new_id()
|
||||
static int new_id(void)
|
||||
{
|
||||
static int id = 0;
|
||||
if (id == 0)
|
||||
|
||||
@@ -179,6 +179,6 @@ typedef enum
|
||||
void fe_tray_set_icon (feicon icon);
|
||||
void fe_tray_set_tooltip (const char *text);
|
||||
void fe_open_chan_list (server *serv, char *filter, int do_refresh);
|
||||
const char *fe_get_default_font ();
|
||||
const char *fe_get_default_font (void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
int identd_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name,
|
||||
char **plugin_desc, char **plugin_version, char *arg);
|
||||
|
||||
int identd_plugin_deinit ();
|
||||
int identd_plugin_deinit (void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -427,7 +427,7 @@ plugin_auto_load_cb (char *filename)
|
||||
}
|
||||
|
||||
static char *
|
||||
plugin_get_libdir ()
|
||||
plugin_get_libdir (void)
|
||||
{
|
||||
const char *libdir;
|
||||
|
||||
|
||||
@@ -1478,7 +1478,7 @@ static char * const pevt_discon_help[] = {
|
||||
#include "textevents.h"
|
||||
|
||||
static void
|
||||
pevent_load_defaults ()
|
||||
pevent_load_defaults (void)
|
||||
{
|
||||
int i;
|
||||
|
||||
@@ -1495,7 +1495,7 @@ pevent_load_defaults ()
|
||||
}
|
||||
|
||||
void
|
||||
pevent_make_pntevts ()
|
||||
pevent_make_pntevts (void)
|
||||
{
|
||||
int i, m;
|
||||
char out[1024];
|
||||
@@ -1637,7 +1637,7 @@ pevent_load (char *filename)
|
||||
}
|
||||
|
||||
static void
|
||||
pevent_check_all_loaded ()
|
||||
pevent_check_all_loaded (void)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ extern const gchar* arbitrary_encoding_fallback_string;
|
||||
void sound_play (const char *file, gboolean quiet);
|
||||
void sound_play_event (int i);
|
||||
void sound_beep (session *);
|
||||
void sound_load ();
|
||||
void sound_save ();
|
||||
void sound_load (void);
|
||||
void sound_save (void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user