prototype for getpass
[musl] / include / pwd.h
index 5abfbfd..38e856d 100644 (file)
@@ -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 **);
 
 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
 #ifdef __cplusplus
 }
 #endif