parent
fbcc4e37f0
commit
e2976733c3
4
Makefile
4
Makefile
|
@ -75,12 +75,12 @@ clean:
|
|||
rm -rf $(BUILD)
|
||||
rm -f *.gc*
|
||||
rm -f $(DEBUG)
|
||||
rm -f $(NAME).bin
|
||||
rm -f $(NAME).elf
|
||||
|
||||
fclean: clean
|
||||
@ printf "$(red)Delete binary files$(nocolor)\n"
|
||||
rm -f $(EXEC)
|
||||
rm -f $(NAME).bin
|
||||
rm -f $(NAME).elf
|
||||
|
||||
re: fclean all install
|
||||
|
||||
|
|
|
@ -32,6 +32,6 @@ struct cmd_block
|
|||
void command_entry(struct session_s *session, struct vhex_s *vhex);
|
||||
|
||||
/* cmd_cache_find() - find command in the cache section. */
|
||||
const struct cmd_info *cmd_cache_find(char const *name);
|
||||
const struct cmd_block *cmd_cache_find(char const *name);
|
||||
|
||||
#endif /*__COMMANDS_H__*/
|
||||
|
|
|
@ -15,9 +15,9 @@ extern uint32_t ecmd_cache;
|
|||
// We use the section symbols to know where the cache end.
|
||||
// (see bootstrap.ld).
|
||||
//
|
||||
const struct cmd_info *cmd_cache_find(char const *name)
|
||||
const struct cmd_block *cmd_cache_find(char const *name)
|
||||
{
|
||||
const struct cmd_info *cache;
|
||||
const struct cmd_block *cache;
|
||||
size_t i;
|
||||
|
||||
i = -1;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
static int command_find(int argc, char **argv, struct session_s *session,
|
||||
struct vhex_s *vhex)
|
||||
{
|
||||
const struct cmd_info *command;
|
||||
const struct cmd_block *command;
|
||||
int tmp;
|
||||
|
||||
command = cmd_cache_find(*argv);
|
||||
|
|
|
@ -205,7 +205,7 @@ static void help_engine(char const *text, int nb_line)
|
|||
/* help() - display command manual pages. */
|
||||
static void help(int argc, char **argv, struct session_s *session, char *info)
|
||||
{
|
||||
const struct cmd_info *command;
|
||||
const struct cmd_block *command;
|
||||
int nb_line;
|
||||
|
||||
(void)session;
|
||||
|
|
Loading…
Reference in New Issue