patch-2.4.25 linux-2.4.25/include/asm-mips/string.h
Next file: linux-2.4.25/include/asm-mips/system.h
Previous file: linux-2.4.25/include/asm-mips/smplock.h
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/include/asm-mips/string.h
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.24/include/asm-mips/string.h linux-2.4.25/include/asm-mips/string.h
@@ -12,7 +12,7 @@
#include <linux/config.h>
#define __HAVE_ARCH_STRCPY
-extern __inline__ char *strcpy(char *__dest, __const__ char *__src)
+static __inline__ char *strcpy(char *__dest, __const__ char *__src)
{
char *__xdest = __dest;
@@ -34,7 +34,7 @@
}
#define __HAVE_ARCH_STRNCPY
-extern __inline__ char *strncpy(char *__dest, __const__ char *__src, size_t __n)
+static __inline__ char *strncpy(char *__dest, __const__ char *__src, size_t __n)
{
char *__xdest = __dest;
@@ -62,7 +62,7 @@
}
#define __HAVE_ARCH_STRCMP
-extern __inline__ int strcmp(__const__ char *__cs, __const__ char *__ct)
+static __inline__ int strcmp(__const__ char *__cs, __const__ char *__ct)
{
int __res;
@@ -90,7 +90,7 @@
}
#define __HAVE_ARCH_STRNCMP
-extern __inline__ int
+static __inline__ int
strncmp(__const__ char *__cs, __const__ char *__ct, size_t __count)
{
int __res;
@@ -133,7 +133,7 @@
#define __HAVE_ARCH_BCOPY
#define __HAVE_ARCH_MEMSCAN
-extern __inline__ void *memscan(void *__addr, int __c, size_t __size)
+static __inline__ void *memscan(void *__addr, int __c, size_t __size)
{
char *__end = (char *)__addr + __size;
unsigned char __uc = (unsigned char) __c;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)