fix missing uintXX_t in nameser.h
[musl] / include / stdio.h
index a2dc674..19ab8bc 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 *);
@@ -169,6 +168,12 @@ void clearerr_unlocked(FILE *);
 int feof_unlocked(FILE *);
 int ferror_unlocked(FILE *);
 int fileno_unlocked(FILE *);
+int getw(FILE *);
+int putw(int, FILE *);
+#endif
+
+#ifdef _BSD_SOURCE
+char *fgetln(FILE *, size_t *);
 #endif
 
 #ifdef _GNU_SOURCE
@@ -178,7 +183,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