svn commit: trunk/uClibc/libc: misc/internals sysdeps/linux/common/bits

landley at uclibc.org landley at uclibc.org
Thu Mar 8 01:26:50 UTC 2007


Author: landley
Date: 2007-03-07 17:26:49 -0800 (Wed, 07 Mar 2007)
New Revision: 18033

Log:
svn 17941/17943 broke the build.  18032 made the threaded case compile 
again, this makes the non-threaded case compile again.  I have no idea 
if this is the proper fix, I'm just tired if it not compiling for two 
weeks.


Modified:
   trunk/uClibc/libc/misc/internals/internal_errno.h
   trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_errno.h


Changeset:
Modified: trunk/uClibc/libc/misc/internals/internal_errno.h
===================================================================
--- trunk/uClibc/libc/misc/internals/internal_errno.h	2007-03-07 23:39:28 UTC (rev 18032)
+++ trunk/uClibc/libc/misc/internals/internal_errno.h	2007-03-08 01:26:49 UTC (rev 18033)
@@ -9,15 +9,10 @@
 #undef errno
 #undef h_errno
 
-/* need to tweak libpthread
-#ifdef __UCLIBC_HAS_THREADS__
-# define errno __uclibc_errno
-# define h_errno __uclibc_h_errno
-#endif
-*/
-
 extern int h_errno;
-libc_hidden_proto(h_errno)
-
 extern int errno;
+
+#ifdef __UCLIBC_HAS_THREADS__
+libc_hidden_proto(h_errno)
 libc_hidden_proto(errno)
+#endif

Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_errno.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_errno.h	2007-03-07 23:39:28 UTC (rev 18032)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_errno.h	2007-03-08 01:26:49 UTC (rev 18033)
@@ -38,11 +38,6 @@
 #  endif
 # endif
 
-/* We now need a declaration of the `errno' variable.  */
-# ifndef __UCLIBC_HAS_THREADS__
-/*extern int errno;*/
-libc_hidden_proto(errno)
-# endif
 #endif /* !__ASSEMBLER__ */
 
 #endif




More information about the uClibc-cvs mailing list