]> git.pld-linux.org Git - packages/kernel.git/blame - 2.6.7-ppc-strncasecmp.patch
- [sparc32] grsec disabled.
[packages/kernel.git] / 2.6.7-ppc-strncasecmp.patch
CommitLineData
86ff5048
PS
1--- linux-2.6.7/fs/gfs_locking/lock_gulm//utils_verb_flags.c.orig 2004-07-07 01:40:49.879527400 +0200
2+++ linux-2.6.7/fs/gfs_locking/lock_gulm//utils_verb_flags.c 2004-07-07 01:41:10.846339960 +0200
4a4ecb04 3@@ -20,6 +20,7 @@
4
5 #include "gulm_log_msg_bits.h"
6
7+#ifndef CONFIG_PPC
8 static __inline__ int
9 strncasecmp (const char *s1, const char *s2, size_t l)
10 {
86ff5048 11@@ -40,6 +41,9 @@
4a4ecb04 12 }
13 return (c1 - c2);
14 }
86ff5048 15+#else
0ea7f231 16+extern int strncasecmp (const char *, const char *, int);
4a4ecb04 17+#endif
18
19 static int bit_array[16] = { 0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4 };
20
This page took 0.027987 seconds and 4 git commands to generate.