aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-04-15 16:40:53 +0100
committerHarry Jeffery <harry@exec64.co.uk>2017-04-15 16:40:53 +0100
commit0357d51086ffa79e964c4b22895e5d6d72771f37 (patch)
tree9fb4b127daa2293845860c72a61dd44d46a5856e
parenta6bb8ad100348693a39ea13ba6af361f2dab5101 (diff)
downloadimv-0357d51086ffa79e964c4b22895e5d6d72771f37.tar.gz
Fix compiler warning
-rw-r--r--src/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.h b/src/commands.h
index 89f94a2..2d106d9 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -24,7 +24,7 @@ struct imv_commands {
struct imv_list *command_list;
};
-struct imv_commands *imv_commands_create();
+struct imv_commands *imv_commands_create(void);
void imv_commands_free(struct imv_commands *cmds);
void imv_command_register(struct imv_commands *cmds, const char *command, void (*handler)());
void imv_command_alias(struct imv_commands *cmds, const char *command, const char *alias);