patch-2.4.7 linux/include/asm-s390x/string.h

Next file: linux/include/asm-sh/softirq.h
Previous file: linux/include/asm-s390x/irq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/include/asm-s390x/string.h linux/include/asm-s390x/string.h
@@ -45,8 +45,6 @@
 extern char *strncpy(char *, const char *, size_t);
 extern int strcmp(const char *,const char *);
 
-#undef __HAVE_ARCH_MEMCHR
-#if 0
 static inline void * memchr(const void * cs,int c,size_t count)
 {
     void *ptr;
@@ -63,7 +61,6 @@
                           : "cc", "0", "1" );
     return ptr;
 }
-#endif
 
 static __inline__ char *strcpy(char *dest, const char *src)
 {
@@ -77,8 +74,6 @@
     return tmp;
 }
 
-#undef __HAVE_ARCH_STRLEN
-#if 0
 static __inline__ size_t strlen(const char *s)
 {
     size_t len;
@@ -93,10 +88,7 @@
                           : "cc", "0" );
     return len;
 }
-#endif
 
-#undef __HAVE_ARCH_STRCAT
-#if 0
 static __inline__ char *strcat(char *dest, const char *src)
 {
     char *tmp = dest;
@@ -112,7 +104,6 @@
                           : "cc", "memory", "0" );
     return tmp;
 }
-#endif
 
 extern void *alloca(size_t);
 #endif /* __KERNEL__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)