diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 13:17:27 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 13:17:27 -0500 |
commit | 4efeffc1d583597e4f52985b9747269e47b754e2 (patch) | |
tree | 65bb598457542a0de30c60646173679c5ea42557 /conform/data/stdio.h-data | |
parent | c20105c398036c4fbeb99f8480ab84077a0f6f2c (diff) | |
download | glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.gz glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.xz glibc-4efeffc1d583597e4f52985b9747269e47b754e2.zip |
Fix up POSIX testing in conformtest
Diffstat (limited to 'conform/data/stdio.h-data')
-rw-r--r-- | conform/data/stdio.h-data | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/conform/data/stdio.h-data b/conform/data/stdio.h-data index ac2dfc4215..abd3a8e8c1 100644 --- a/conform/data/stdio.h-data +++ b/conform/data/stdio.h-data @@ -56,7 +56,7 @@ function {char*} cuserid (char*) function int dprintf (int, const char*, ...) #endif function int fclose (FILE*) -#if defined XOPEN2K8 || defined POSIX2008 +#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG3 && !defined XPG4 function {FILE*} fdopen (int, const char*) #endif function int feof (FILE*) @@ -68,7 +68,7 @@ function {char*} fgets (char*, int, FILE*) #if !defined ISO && !defined ISO99 && !defined ISO11 function int fileno (FILE*) #endif -#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 +#if defined POSIX || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 function void flockfile (FILE*) #endif #if defined XOPEN2K8 || defined POSIX2008 @@ -90,14 +90,14 @@ function {long int} ftell (FILE*) #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 function off_t ftello (FILE*) #endif -#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 +#if defined POSIX || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 function int ftrylockfile (FILE*) function void funlockfile (FILE*) #endif function size_t fwrite (const void*, size_t, size_t, FILE*) function int getc (FILE*) function int getchar (void) -#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 +#if defined POSIX || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 function int getc_unlocked (FILE*) function int getchar_unlocked () #endif @@ -127,7 +127,7 @@ function {FILE*} popen (const char*, const char*) function int printf (const char*, ...) function int putc (int, FILE*) function int putchar (int) -#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 +#if defined POSIX || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 function int putc_unlocked (int, FILE*) function int putchar_unlocked (int) #endif @@ -159,18 +159,18 @@ function int ungetc (int, FILE*) function int vdprintf (int, const char*, va_list) #endif function int vfprintf (FILE*, const char*, va_list) -#if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98 +#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98 function int vfscanf (FILE*, const char*, va_list) #endif function int vprintf (const char*, va_list) -#if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98 +#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98 function int vscanf (const char*, va_list) #endif -#ifndef ISO +#if !defined ISO && !defined POSIX function int vsnprintf (char*, size_t, const char*, va_list) #endif function int vsprintf (char*, const char*, va_list) -#if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98 +#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98 function int vsscanf (const char*, const char*, va_list) #endif |