From db274137c95e1683581032570562e459c616d9e4 Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Fri, 20 Apr 2012 14:15:11 +0200 Subject: fixed duplicate strcmp --- common/cmd_monitor.c | 4 ++-- 1 file 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) -- cgit v1.1