Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-11-19 01:40:40 +0300
committerJeff Johnston <jjohnstn@redhat.com>2008-11-19 01:40:40 +0300
commitefb00eb5dac6ead2355fb78c93a22bed6ed7379f (patch)
tree54d2fc1a5cb777caf53f3745bb65c5b92f7b1e89 /newlib/libc/unix
parentfd450adfe7378555bc79b356caa28fe7e1875d35 (diff)
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')
-rw-r--r--newlib/libc/unix/getpass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/unix/getpass.c b/newlib/libc/unix/getpass.c
index 6bd1c44a9..de23261cb 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 */