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

psm at uclibc.org psm at uclibc.org
Sun Dec 11 01:13:39 UTC 2005


Author: psm
Date: 2005-12-10 17:13:38 -0800 (Sat, 10 Dec 2005)
New Revision: 12834

Log:
Make sure we are really within uClibc only, these bits should move from the visible header

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	2005-12-11 00:55:30 UTC (rev 12833)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h	2005-12-11 01:13:38 UTC (rev 12834)
@@ -68,7 +68,7 @@
 
 /**********************************************************************/
 /* Make sure defines related to large files are consistent. */
-#ifdef _LIBC
+#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
 
 #ifdef __UCLIBC_HAS_LFS__
 #undef __USE_LARGEFILE
@@ -361,7 +361,7 @@
 /**********************************************************************
  * PROTOTYPES OF INTERNAL FUNCTIONS
  **********************************************************************/
-#ifdef _LIBC
+#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
 
 extern void _stdio_init(void);
 extern void _stdio_term(void);
@@ -374,10 +374,10 @@
 extern pthread_mutex_t _stdio_openlist_lock;
 extern int _stdio_openlist_delflag;
 extern int _stdio_user_locking;
-#ifdef _LIBC
+/* #ifdef _LIBC */
 extern void __stdio_init_mutex(pthread_mutex_t *m) attribute_hidden;
+/* #endif */
 #endif
-#endif
 
 #endif
 




More information about the uClibc-cvs mailing list