]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/xyzModem.c
bootm: Avoid 256-byte overflow in fixup_silent_linux()
[karo-tx-uboot.git] / common / xyzModem.c
index a1f955b9d76ed513c2b391939d302ab790a2778a..f30b0020a38fe64cf9c23440f6762138279372ad 100644 (file)
@@ -100,7 +100,7 @@ static struct
 
 #ifndef REDBOOT                        /*SB */
 typedef int cyg_int32;
-int
+static int
 CYGACC_COMM_IF_GETC_TIMEOUT (char chan, char *c)
 {
 #define DELAY 20
@@ -118,7 +118,7 @@ CYGACC_COMM_IF_GETC_TIMEOUT (char chan, char *c)
   return 0;
 }
 
-void
+static void
 CYGACC_COMM_IF_PUTC (char x, char y)
 {
   putc (y);
@@ -165,7 +165,7 @@ _tolower (char c)
 }
 
 /* Parse (scan) a number */
-bool
+static bool
 parse_num (char *s, unsigned long *val, char **es, char *delim)
 {
   bool first = true;