diff options
Diffstat (limited to 'src/commands.c')
-rw-r--r-- | src/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.c b/src/commands.c index 0f31bfc..83ca4bc 100644 --- a/src/commands.c +++ b/src/commands.c @@ -45,7 +45,7 @@ void imv_commands_free(struct imv_commands *cmds) free(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*)) { struct command *cmd = malloc(sizeof(struct command)); cmd->command = strdup(command); |