slightly improve command_defs[]
* make the struct `const` * use designated initializers * remove `CMD_NOxyz` macros * fix function-pointer correctness of `sub_func[]` Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -47,7 +47,7 @@ gboolean cmd_ac_exists(char* cmd);
|
||||
|
||||
void cmd_ac_add(const char* const value);
|
||||
void cmd_ac_add_help(const char* const value);
|
||||
void cmd_ac_add_cmd(Command* command);
|
||||
void cmd_ac_add_cmd(const Command* command);
|
||||
void cmd_ac_add_alias(ProfAlias* alias);
|
||||
void cmd_ac_add_alias_value(char* value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user