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:
Diffstat (limited to 'newlib/libc/unix/getpass.c')
-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 */