From: Rich Felker Date: Tue, 29 Mar 2011 00:43:51 +0000 (-0400) Subject: prototype for getpass X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=ef839c73d7ad51249550675defdcb24349e6ffd0 prototype for getpass --- 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