From b3dc734018ef4dff8bab10409cd3ddf5ee10c48c Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 28 Sep 2007 10:07:26 +0200 Subject: declare lots of functions static --- commands/memtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/memtest.c') diff --git a/commands/memtest.c b/commands/memtest.c index fd1ffa5bad..88d8aa356a 100644 --- a/commands/memtest.c +++ b/commands/memtest.c @@ -259,7 +259,7 @@ static int mem_test(ulong _start, ulong _end, ulong pattern_unused) } #else -int mem_test(ulong _start, ulong _end, ulong pattern) +static int mem_test(ulong _start, ulong _end, ulong pattern) { vu_long *addr; vu_long *start = (vu_long *)_start; @@ -317,7 +317,7 @@ int mem_test(ulong _start, ulong _end, ulong pattern) } #endif -int do_mem_mtest (cmd_tbl_t *cmdtp, int argc, char *argv[]) +static int do_mem_mtest (cmd_tbl_t *cmdtp, int argc, char *argv[]) { ulong start, end, pattern = 0; -- cgit v1.2.3