[PATCH 31/42] commands/mem.c: make locally used function static
Sascha Hauer
s.hauer at pengutronix.de
Tue Oct 19 08:55:19 EDT 2010
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
commands/mem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/commands/mem.c b/commands/mem.c
index bc84f6d..73bf915 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;
--
1.7.2.3
More information about the barebox
mailing list