Sfoglia il codice sorgente

Scheduled for removal: strnicmp() which is unused

Wolfgang Denk 19 anni fa
parent
commit
983bebbea3
3 ha cambiato i file con 8 aggiunte e 2 eliminazioni
  1. 6 0
      CHANGELOG
  2. 1 1
      include/linux/string.h
  3. 1 1
      lib_generic/string.c

+ 6 - 0
CHANGELOG

@@ -2,6 +2,12 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Scheduled for removal: strnicmp() which is unused
+
+* Update for Intel Monahans boards:
+  - support for magic key detection and handling on delta board
+  - NAND support for zylonite board + some minor cleanup
+
 * Declare load_serial_ymodem() when using CFG_CMD_LOADB.
   Patch by Jon Loeliger, 01. May 2006
 

+ 1 - 1
include/linux/string.h

@@ -38,7 +38,7 @@ extern int strcmp(const char *,const char *);
 #ifndef __HAVE_ARCH_STRNCMP
 extern int strncmp(const char *,const char *,__kernel_size_t);
 #endif
-#ifndef __HAVE_ARCH_STRNICMP
+#if 0 /* not used - was: #ifndef __HAVE_ARCH_STRNICMP */
 extern int strnicmp(const char *, const char *, __kernel_size_t);
 #endif
 #ifndef __HAVE_ARCH_STRCHR

+ 1 - 1
lib_generic/string.c

@@ -21,7 +21,7 @@
 #include <malloc.h>
 
 
-#ifndef __HAVE_ARCH_STRNICMP
+#if 0 /* not used - was: #ifndef __HAVE_ARCH_STRNICMP */
 /**
  * strnicmp - Case insensitive, length-limited string comparison
  * @s1: One string