mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
do_reset: unify duplicate prototypes
The duplication of the do_reset prototype has gotten out of hand, and they're not all in sync. Unify them all in command.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
7842fb7c4f
commit
882b7d726f
@@ -50,10 +50,6 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||
void inline __show_boot_progress (int val) {}
|
||||
void show_boot_progress (int val) __attribute__((weak, alias("__show_boot_progress")));
|
||||
|
||||
#if defined(CONFIG_BOOT_RETRY_TIME) && defined(CONFIG_RESET_TO_RETRY)
|
||||
extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); /* for do_reset() prototype */
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_UPDATE_TFTP)
|
||||
void update_tftp (void);
|
||||
#endif /* CONFIG_UPDATE_TFTP */
|
||||
|
Reference in New Issue
Block a user