header file fixes: multiple include guard consistency and correctness
[musl] / include / stdio.h
index a2dc674..edcf2e6 100644 (file)
@@ -159,7 +159,6 @@ char *tempnam(const char *, const char *);
 char *cuserid(char *);
 void setlinebuf(FILE *);
 void setbuffer(FILE *, char *, size_t);
-int fpurge(FILE *);
 int fgetc_unlocked(FILE *);
 int fputc_unlocked(int, FILE *);
 int fflush_unlocked(FILE *);
@@ -178,7 +177,7 @@ char *fgets_unlocked(char *, int, FILE *);
 int fputs_unlocked(const char *, FILE *);
 #endif
 
-#ifdef _LARGEFILE64_SOURCE
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
 #define tmpfile64 tmpfile
 #define fopen64 fopen
 #define freopen64 freopen