1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-25 22:55:55 +02:00
xburst-tools/toolchain/patches/glibc/glibc-2.6.1-for_gcc-4.3.patch
xiangfu 75c9bd2885 -this patch is for the gcc-4.3
-now the glibc can make sucess. still cann't make install
2009-04-06 07:31:48 +00:00

25 lines
980 B
Diff

diff -Naur glibc-2.6.1/locale/programs/charmap-kw.h glibc-2.6.1.m/locale/programs/charmap-kw.h
--- glibc-2.6.1/locale/programs/charmap-kw.h 2005-12-20 15:10:31.000000000 +0800
+++ glibc-2.6.1.m/locale/programs/charmap-kw.h 2009-04-06 14:59:23.000000000 +0800
@@ -127,7 +127,7 @@
#ifdef __GNUC__
__inline
#endif
-const struct keyword_t *
+static const struct keyword_t *
charmap_hash (register const char *str, register unsigned int len)
{
static const struct keyword_t wordlist[] =
diff -Naur glibc-2.6.1/locale/programs/locfile-kw.h glibc-2.6.1.m/locale/programs/locfile-kw.h
--- glibc-2.6.1/locale/programs/locfile-kw.h 2005-12-20 15:10:31.000000000 +0800
+++ glibc-2.6.1.m/locale/programs/locfile-kw.h 2009-04-06 14:59:47.000000000 +0800
@@ -127,7 +127,7 @@
#ifdef __GNUC__
__inline
#endif
-const struct keyword_t *
+static const struct keyword_t *
locfile_hash (register const char *str, register unsigned int len)
{
static const struct keyword_t wordlist[] =