aboutsummaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-08-06 20:04:50 +0100
committerHarry Jeffery <harry@exec64.co.uk>2017-08-06 20:04:50 +0100
commit92eb3a9b9a284a188c03a1af9a12cf1edec9e845 (patch)
treeb77ed38096f3b8abf8ea08493681ea7d44b4fcc6 /src/commands.h
parent2ffd6edea17c1ec8fdb33d1135e27db0eb080625 (diff)
downloadimv-92eb3a9b9a284a188c03a1af9a12cf1edec9e845.tar.gz
Fix failing build on gcc 4.8.4
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.h b/src/commands.h
index 2d106d9..a955fac 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -26,7 +26,7 @@ struct imv_commands {
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_register(struct imv_commands *cmds, const char *command, void (*handler)(struct imv_list*, void*));
void imv_command_alias(struct imv_commands *cmds, const char *command, const char *alias);
int imv_command_exec(struct imv_commands *cmds, const char *command, void *data);