diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-11-21 21:51:54 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 21:34:11 +0000 |
commit | 57eb6a9168219d3afd90589e15b14778e832cd28 (patch) | |
tree | 8601ee4e987d136715f66ee5c9192766c0b48148 /src/commands.h | |
parent | 9167c61b60c5492c6168687fd3fbb3b9f56ccd8c (diff) | |
download | imv-57eb6a9168219d3afd90589e15b14778e832cd28.tar.gz |
Remove imv_ prefix from struct imv_list
It's just bloat. No value.
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands.h b/src/commands.h index 2da0617..19a0bf9 100644 --- a/src/commands.h +++ b/src/commands.h @@ -18,15 +18,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef COMMANDS_H #define COMMANDS_H -struct imv_list; +struct list; struct imv_commands { - struct imv_list *command_list; + struct list *command_list; }; 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)(struct imv_list*, const char*, void*)); +void imv_command_register(struct imv_commands *cmds, const char *command, void (*handler)(struct list*, const char*, 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); |