summaryrefslogtreecommitdiffstats
path: root/commands/mem.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-10-15 09:34:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-21 22:21:25 +0200
commit4a109289523f74d2da89160f43b8134aac19f2f1 (patch)
tree8d81b458cc752ed63fab2c2fc28041c660e77e87 /commands/mem.c
parent361bb2408104dc163e0f79e2526483aabd09855c (diff)
downloadbarebox-4a109289523f74d2da89160f43b8134aac19f2f1.tar.gz
barebox-4a109289523f74d2da89160f43b8134aac19f2f1.tar.xz
commands/mem.c: make locally used function static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/mem.c')
-rw-r--r--commands/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/mem.c b/commands/mem.c
index bc84f6d56e..73bf9158da 100644
--- a/commands/mem.c
+++ b/commands/mem.c
@@ -110,7 +110,7 @@ int memory_display(char *addr, ulong offs, ulong nbytes, int size)
return 0;
}
-int open_and_lseek(const char *filename, int mode, off_t pos)
+static int open_and_lseek(const char *filename, int mode, off_t pos)
{
int fd, ret;