From: Masahiro Yamada Date: Wed, 3 Sep 2014 15:38:26 +0000 (+0900) Subject: cmd_mem: add static to internally used functions X-Git-Tag: v2014.10-rc3~103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5a8608e586bd959bde8bc267e14c36768ab956b5;p=u-boot cmd_mem: add static to internally used functions Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- diff --git a/common/cmd_mem.c b/common/cmd_mem.c index 1febddb916..bfca59e351 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -215,7 +215,7 @@ static int do_mem_mw(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) } #ifdef CONFIG_MX_CYCLIC -int do_mem_mdc ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_mem_mdc(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { int i; ulong count; @@ -242,7 +242,7 @@ int do_mem_mdc ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) return 0; } -int do_mem_mwc ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_mem_mwc(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { int i; ulong count; @@ -595,7 +595,8 @@ static int do_mem_loop(cmd_tbl_t *cmdtp, int flag, int argc, } #ifdef CONFIG_LOOPW -int do_mem_loopw (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_mem_loopw(cmd_tbl_t *cmdtp, int flag, int argc, + char * const argv[]) { ulong addr, length, i, bytes; int size;