mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00: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:
parent
7842fb7c4f
commit
882b7d726f
38 changed files with 21 additions and 67 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue