X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fpwd.h;h=38e856d381731b18277e25aff520ccbdab67d8c1;hb=5788d97221434903407fec3f0e48b2ca19643a30;hp=5abfbfd56aa606db2d87a650ea271eb5ecc6ea52;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl 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