aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-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 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 */