diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-18 22:40:40 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-18 22:40:40 +0000 |
commit | efb00eb5dac6ead2355fb78c93a22bed6ed7379f (patch) | |
tree | 54d2fc1a5cb777caf53f3745bb65c5b92f7b1e89 /newlib/libc | |
parent | fd450adfe7378555bc79b356caa28fe7e1875d35 (diff) | |
download | newlib-efb00eb5dac6ead2355fb78c93a22bed6ed7379f.zip newlib-efb00eb5dac6ead2355fb78c93a22bed6ed7379f.tar.gz newlib-efb00eb5dac6ead2355fb78c93a22bed6ed7379f.tar.bz2 |
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')
-rw-r--r-- | newlib/libc/unix/getpass.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/unix/getpass.c b/newlib/libc/unix/getpass.c index 6bd1c44..de23261 100644 --- a/newlib/libc/unix/getpass.c +++ b/newlib/libc/unix/getpass.c @@ -1,3 +1,4 @@ +#ifndef _NO_GETPASS /* * Copyright (c) 1988 The Regents of the University of California. * All rights reserved. @@ -97,3 +98,4 @@ getpass (prompt) (void) fclose (fp); return buf; } +#endif /* !_NO_GETPASS */ |