diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-18 21:47:44 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-18 21:47:44 +0000 |
commit | fd450adfe7378555bc79b356caa28fe7e1875d35 (patch) | |
tree | 9192d8c7ca53fa990c5cdad610c4884c79e62748 /newlib/libc/unix/getpwent.c | |
parent | 57f69f200e473bbb545ebfbe3dc2bb82c7a7a128 (diff) | |
download | cygnal-fd450adfe7378555bc79b356caa28fe7e1875d35.tar.gz cygnal-fd450adfe7378555bc79b356caa28fe7e1875d35.tar.bz2 cygnal-fd450adfe7378555bc79b356caa28fe7e1875d35.zip |
2008-11-18 Jeff Johnston <jjohnstn@redhat.com>
* libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
ignored if desired by a platform.
* libc/unix/dirname.c: Ditto except replace BASENAME with file name.
* libc/unix/getcwd.c: Ditto.
* libc/unix/getlogin.c: Ditto.
* libc/unix/getpass.c: Ditto.
* libc/unix/getpwent.c: Ditto.
* libc/unix/getut.c: Ditto.
* libc/unix/pread.c: Ditto.
* libc/unix/pwrite.c: Ditto.
* libc/unix/sigset.c: Ditto.
Diffstat (limited to 'newlib/libc/unix/getpwent.c')
-rw-r--r-- | newlib/libc/unix/getpwent.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/unix/getpwent.c b/newlib/libc/unix/getpwent.c index 5390c682f..0f13a20f7 100644 --- a/newlib/libc/unix/getpwent.c +++ b/newlib/libc/unix/getpwent.c @@ -1,3 +1,5 @@ +#ifndef _NO_GETPWENT + #include <stdio.h> #include <sys/types.h> #include <pwd.h> @@ -125,3 +127,5 @@ endpwent () if (passwd_fp != NULL) fclose (passwd_fp); } + +#endif /* !_NO_GETPWENT */ |