diff options
| author | David McCullough <davidm@snapgear.com> | 2002-08-09 13:11:08 +0000 | 
|---|---|---|
| committer | David McCullough <davidm@snapgear.com> | 2002-08-09 13:11:08 +0000 | 
| commit | 61cb9d4ef5873fdd671e7c044240c410317877d4 (patch) | |
| tree | 5df46cca5a37025ee71fdce32061c46b68ee5163 /include/stdio.h | |
| parent | 8329f998f899f5b0a80cbdf3d0682bdb1e7f8d4c (diff) | |
| download | uClibc-alpine-61cb9d4ef5873fdd671e7c044240c410317877d4.tar.bz2 uClibc-alpine-61cb9d4ef5873fdd671e7c044240c410317877d4.tar.xz  | |
Fix some more warnings for non-thread-enabled compiles.
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/include/stdio.h b/include/stdio.h index f39ab8481..3e27707ae 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -405,7 +405,7 @@ extern int putw (int __w, FILE *__stream) __THROW;  extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)       __THROW; -#ifdef __USE_GNU +#if defined(__USE_GNU) || defined(__USE_MISC)  /* This function does the same as `fgets' but does not lock the stream.  */  extern char *fgets_unlocked (char *__restrict __s, int __n,  			     FILE *__restrict __stream) __THROW; @@ -603,9 +603,8 @@ extern int obstack_vprintf (struct obstack *__restrict __obstack,  #endif /* Use GNU.  */ -#if (defined __USE_POSIX || defined __USE_MISC) && defined __UCLIBC_HAS_THREADS__ +#if defined __USE_POSIX || defined __USE_MISC  /* These are defined in POSIX.1:1996.  */ -  /* Acquire ownership of STREAM.  */  extern void flockfile (FILE *__stream) __THROW;  | 
