summaryrefslogtreecommitdiffstats
path: root/commands/memtest.c
diff options
context:
space:
mode:
authorSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-28 10:07:26 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-28 10:07:26 +0200
commitb3dc734018ef4dff8bab10409cd3ddf5ee10c48c (patch)
tree5f63c72afb179be139d44d0d823253f08f0392fc /commands/memtest.c
parent27bf8f1deabda87d07a8b9c7e21b59484f1a197e (diff)
downloadbarebox-b3dc734018ef4dff8bab10409cd3ddf5ee10c48c.tar.gz
declare lots of functions static
Diffstat (limited to 'commands/memtest.c')
-rw-r--r--commands/memtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/memtest.c b/commands/memtest.c
index fd1ffa5..88d8aa3 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;