diff options
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.h b/src/commands.h index df8b43b..89f94a2 100644 --- a/src/commands.h +++ b/src/commands.h @@ -24,11 +24,11 @@ struct imv_commands { struct imv_list *command_list; }; -struct imv_commands *imv_commands_create(void); +struct imv_commands *imv_commands_create(); 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); -int imv_command_exec(struct imv_commands *cmds, const char *command); +int imv_command_exec(struct imv_commands *cmds, const char *command, void *data); #endif |