Add compiled binary.

Fix compile error.
This commit is contained in:
yann MAGNIN 2019-06-14 22:58:45 +02:00
parent fbcc4e37f0
commit e2976733c3
6 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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__*/

View File

@ -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;

View File

@ -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);

View File

@ -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;

BIN
vhex.g1a Normal file

Binary file not shown.