diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-02-18 08:57:22 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-02-18 08:57:22 -0500 |
commit | aab881fda26578edb5c17a705069e55e8c612f29 (patch) | |
tree | b78d8a2646f0b9edb08060c095b21baed29de5d3 /plugins/fishlim | |
parent | 05385f247917cae2d15f648e1983e0d82b9ae923 (diff) |
Fix strict prototype warnings
Diffstat (limited to 'plugins/fishlim')
-rw-r--r-- | plugins/fishlim/keystore.c | 4 | ||||
-rw-r--r-- | plugins/fishlim/plugin_hexchat.c | 2 | ||||
-rw-r--r-- | plugins/fishlim/plugin_hexchat.h | 2 |
3 files changed, 4 insertions, 4 deletions
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 |