summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-11 01:13:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-11 01:13:38 +0000
commit8d7e9880f0d98b9321fcb9c8ee181f1bcc735eed (patch)
treeae529d5b281aa6f0e4e202e035e0d1f1fd45a2ae /libc/sysdeps/linux/common
parent454a824ca59bf0520093d5a5b8cf9dbef0ea4265 (diff)
Make sure we are really within uClibc only, these bits should move from the visible header
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_stdio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
index b5e466f47..6831ca43a 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
@@ -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 @@ struct __STDIO_FILE_STRUCT {
/**********************************************************************
* 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,9 +374,9 @@ extern struct __STDIO_FILE_STRUCT *_stdio_openlist;
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