aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/cmd_monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_monitor.c b/common/cmd_monitor.c
index 05ff5df..69be750 100644
--- a/common/cmd_monitor.c
+++ b/common/cmd_monitor.c
@@ -79,7 +79,7 @@ static inline int gpio_is_input(int n)
return (base->oe >> bit)&1;
}
-int strcmp(char *s1, char *s2)
+static int strcmp(char *s1, char *s2)
{
while(*s1 == *s2) {
if(*s1 == 0)
@@ -90,7 +90,7 @@ int strcmp(char *s1, char *s2)
return *s1 > *s2?1:-1;
}
-long xtol(char *s)
+static long xtol(char *s)
{
long val=0;
while(1)