This website works better with JavaScript
Home
Explore
Help
Sign In
hongwenjun
/
musl
mirror of
https://git.musl-libc.org/git/musl
Watch
1
Star
0
Fork
0
Files
Issues
0
Wiki
Browse Source
make sure getw/putw agree with prototypes by defining _GNU_SOURCE
Rich Felker
12 years ago
parent
25b88f0810
commit
98eddc6776
2 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
1
0
src/stdio/getw.c
1
0
src/stdio/putw.c
+ 1
- 0
src/stdio/getw.c
View File
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <stdio.h>
int getw(FILE *f)
+ 1
- 0
src/stdio/putw.c
View File
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <stdio.h>
int putw(int x, FILE *f)