patch-2.4.25 linux-2.4.25/include/asm-m68k/string.h
Next file: linux-2.4.25/include/asm-m68k/sun3_pgalloc.h
Previous file: linux-2.4.25/include/asm-m68k/smplock.h
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/include/asm-m68k/string.h
- Orig date:
2001-10-25 13:53:55.000000000 -0700
diff -urN linux-2.4.24/include/asm-m68k/string.h linux-2.4.25/include/asm-m68k/string.h
@@ -82,7 +82,7 @@
#if 0
#define __HAVE_ARCH_STRPBRK
-extern inline char * strpbrk(const char * cs,const char * ct)
+static inline char *strpbrk(const char *cs,const char *ct)
{
const char *sc1,*sc2;
@@ -119,7 +119,7 @@
#if 0
#define __HAVE_ARCH_STRTOK
-extern inline char * strtok(char * s,const char * ct)
+static inline char *strtok(char *s, const char *ct)
{
char *sbegin, *send;
@@ -553,7 +553,8 @@
memcmp((cs),(ct),(n)))
#define __HAVE_ARCH_MEMCHR
-extern inline void * memchr(const void * cs, int c, size_t count) {
+static inline void *memchr(const void *cs, int c, size_t count)
+{
/* Someone else can optimize this, I don't care - tonym@mac.linux-m68k.org */
unsigned char *ret = (unsigned char *)cs;
for(;count>0;count--,ret++)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)