summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-28 20:43:51 -0400
committerRich Felker <dalias@aerifal.cx>2011-03-28 20:43:51 -0400
commitef839c73d7ad51249550675defdcb24349e6ffd0 (patch)
treefbaa7195216fd1e223f2a3fab06609451a765572
parent83b6c9e052ed8c813c03a5517943b61caef6b065 (diff)
downloadmusl-ef839c73d7ad51249550675defdcb24349e6ffd0.tar.gz
musl-ef839c73d7ad51249550675defdcb24349e6ffd0.tar.bz2
musl-ef839c73d7ad51249550675defdcb24349e6ffd0.tar.xz
musl-ef839c73d7ad51249550675defdcb24349e6ffd0.zip
prototype for getpass
-rw-r--r--include/pwd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 5abfbfd5..38e856d3 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -31,6 +31,10 @@ struct passwd *getpwnam (const char *);
int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **);
int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
+#ifdef _GNU_SOURCE
+char *getpass(const char *);
+#endif
+
#ifdef __cplusplus
}
#endif