diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-06-23 02:22:08 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-19 01:53:23 +0400 |
commit | 0e350f81e1ca7d103fd9685725f9c4b0d9e80632 (patch) | |
tree | 05af9f8bb5f3a0c4cc03c7624880d6ee7927b93c /common/cmd_bdinfo.c | |
parent | e259d6a320d0280f02966b8bc35316fb136c5e24 (diff) | |
download | u-boot-0e350f81e1ca7d103fd9685725f9c4b0d9e80632.tar.xz |
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_bdinfo.c')
-rw-r--r-- | common/cmd_bdinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index f283a1616e..3d37a86a7d 100644 --- a/common/cmd_bdinfo.c +++ b/common/cmd_bdinfo.c @@ -351,7 +351,8 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) #elif defined(CONFIG_ARM) -int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, + char * const argv[]) { int i; bd_t *bd = gd->bd; |