svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits
jocke at uclibc.org
jocke at uclibc.org
Tue Jan 9 14:38:55 PST 2007
Author: jocke
Date: 2007-01-09 14:38:55 -0800 (Tue, 09 Jan 2007)
New Revision: 17210
Log:
Aurelien Jacobs writes:
After our last update a new compilation breakage appeared when compiling
gcc:
/home/aurel/geex/geexbox/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:346: error: expected initializer before 'attribute_hidden'
Some investigations revealed that the following changeset is responsible
for this breakage:
http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h?rev=16801&r1=16793&r2=16801&diff_format=h
Reverting just one hunk of this changeset fixed the problem us.
I'm not sure this is the right fix, but please see attached patch.
Look good to me.
Modified:
trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h 2007-01-09 22:30:16 UTC (rev 17209)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h 2007-01-09 22:38:55 UTC (rev 17210)
@@ -341,7 +341,7 @@
/**********************************************************************
* PROTOTYPES OF INTERNAL FUNCTIONS
**********************************************************************/
-#ifdef _LIBC
+#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
extern void _stdio_init(void) attribute_hidden;
extern void _stdio_term(void) attribute_hidden;
More information about the uClibc-cvs
mailing list