diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 05:09:18 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 05:09:18 +0000 |
commit | 571744447c23f91feb6439948f3a619aca850dfb (patch) | |
tree | 996c6f90721d69494683ae213ec22784d02a899a /src/passwd | |
parent | ac45692a53a1b8d2ede329d91652d43c1fb5dc8d (diff) | |
download | musl-571744447c23f91feb6439948f3a619aca850dfb.tar.gz musl-571744447c23f91feb6439948f3a619aca850dfb.tar.xz musl-571744447c23f91feb6439948f3a619aca850dfb.zip |
include cleanups: remove unused headers and add feature test macros
Diffstat (limited to 'src/passwd')
-rw-r--r-- | src/passwd/fgetgrent.c | 1 | ||||
-rw-r--r-- | src/passwd/fgetpwent.c | 1 | ||||
-rw-r--r-- | src/passwd/putgrent.c | 1 | ||||
-rw-r--r-- | src/passwd/putpwent.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/passwd/fgetgrent.c b/src/passwd/fgetgrent.c index 2f18d925..d8d1c773 100644 --- a/src/passwd/fgetgrent.c +++ b/src/passwd/fgetgrent.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #include "pwf.h" struct group *fgetgrent(FILE *f) diff --git a/src/passwd/fgetpwent.c b/src/passwd/fgetpwent.c index e95fdb2c..eb47b2a1 100644 --- a/src/passwd/fgetpwent.c +++ b/src/passwd/fgetpwent.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #include "pwf.h" struct passwd *fgetpwent(FILE *f) diff --git a/src/passwd/putgrent.c b/src/passwd/putgrent.c index 6f26c051..a0b320fc 100644 --- a/src/passwd/putgrent.c +++ b/src/passwd/putgrent.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #include <grp.h> #include <stdio.h> diff --git a/src/passwd/putpwent.c b/src/passwd/putpwent.c index 80fbf384..3a02e573 100644 --- a/src/passwd/putpwent.c +++ b/src/passwd/putpwent.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #include <pwd.h> #include <stdio.h> |