diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-06-23 00:22:08 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-18 17:53:23 -0400 |
commit | 0e350f81e1ca7d103fd9685725f9c4b0d9e80632 (patch) | |
tree | 05af9f8bb5f3a0c4cc03c7624880d6ee7927b93c /common/cmd_pxe.c | |
parent | e259d6a320d0280f02966b8bc35316fb136c5e24 (diff) | |
download | u-boot-0e350f81e1ca7d103fd9685725f9c4b0d9e80632.tar.gz |
common: commands: make commands static
Since most commands are not public, make them static. This
prevents warnings that no common prototype is available.
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common/cmd_pxe.c')
-rw-r--r-- | common/cmd_pxe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index 348332874b..ba48692e86 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -1562,7 +1562,7 @@ static cmd_tbl_t cmd_pxe_sub[] = { U_BOOT_CMD_MKENT(boot, 2, 1, do_pxe_boot, "", "") }; -int do_pxe(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_pxe(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { cmd_tbl_t *cp; @@ -1596,7 +1596,7 @@ U_BOOT_CMD( * * Returns 0 on success, 1 on error. */ -int do_sysboot(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_sysboot(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { unsigned long pxefile_addr_r; struct pxe_menu *cfg; |