[PATCH 4/5] commands/loads.c: make do_* functions static

Antony Pavlov antonynpavlov at gmail.com
Mon Aug 22 14:45:37 EDT 2011


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 commands/loads.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands/loads.c b/commands/loads.c
index 6aef557..396406c 100644
--- a/commands/loads.c
+++ b/commands/loads.c
@@ -40,7 +40,7 @@ static int save_serial (ulong offset, ulong size);
 static int write_record (char *buf);
 #endif /* CONFIG_CMD_SAVES */
 
-int do_load_serial(struct command *cmdtp, int argc, char *argv[])
+static int do_load_serial(struct command *cmdtp, int argc, char *argv[])
 {
 	ulong offset = 0;
 	ulong addr;
@@ -177,7 +177,7 @@ read_record (char *buf, ulong len)
 }
 
 #ifdef CONFIG_CMD_SAVES
-int do_save_serial(struct command *cmdtp, int argc, char *argv[])
+static int do_save_serial(struct command *cmdtp, int argc, char *argv[])
 {
 	ulong offset = 0;
 	ulong size   = 0;
-- 
1.7.5.4




More information about the barebox mailing list