From aab881fda26578edb5c17a705069e55e8c612f29 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Thu, 18 Feb 2016 08:57:22 -0500 Subject: Fix strict prototype warnings --- plugins/fishlim/keystore.c | 4 ++-- plugins/fishlim/plugin_hexchat.c | 2 +- plugins/fishlim/plugin_hexchat.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/fishlim') diff --git a/plugins/fishlim/keystore.c b/plugins/fishlim/keystore.c index 84373996..298b9fa3 100644 --- a/plugins/fishlim/keystore.c +++ b/plugins/fishlim/keystore.c @@ -39,7 +39,7 @@ static char *keystore_password = NULL; /** * Opens the key store file: ~/.config/hexchat/addon_fishlim.conf */ -static GKeyFile *getConfigFile() { +static GKeyFile *getConfigFile(void) { gchar *filename = get_config_filename(); GKeyFile *keyfile = g_key_file_new(); @@ -55,7 +55,7 @@ static GKeyFile *getConfigFile() { /** * Returns the key store password, or the default. */ -static const char *get_keystore_password() { +static const char *get_keystore_password(void) { return (keystore_password != NULL ? keystore_password : /* Silly default value... */ diff --git a/plugins/fishlim/plugin_hexchat.c b/plugins/fishlim/plugin_hexchat.c index 556a2f51..0afecd82 100644 --- a/plugins/fishlim/plugin_hexchat.c +++ b/plugins/fishlim/plugin_hexchat.c @@ -48,7 +48,7 @@ static hexchat_plugin *ph; /** * Returns the path to the key store file. */ -gchar *get_config_filename() { +gchar *get_config_filename(void) { char *filename_fs, *filename_utf8; filename_utf8 = g_build_filename(hexchat_get_info(ph, "configdir"), "addon_fishlim.conf", NULL); diff --git a/plugins/fishlim/plugin_hexchat.h b/plugins/fishlim/plugin_hexchat.h index f60522e6..d619d239 100644 --- a/plugins/fishlim/plugin_hexchat.h +++ b/plugins/fishlim/plugin_hexchat.h @@ -25,7 +25,7 @@ #ifndef PLUGIN_HEXCHAT_H #define PLUGIN_HEXCHAT_H -gchar *get_config_filename(); +gchar *get_config_filename(void); int irc_nick_cmp (const char *, const char *); #endif -- cgit 1.4.1