From: Rich Felker Date: Mon, 21 May 2012 02:56:06 +0000 (-0400) Subject: move getpass decl to the right place X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=3db29f0347976cd8f5eedf8a78cc3297a639714f move getpass decl to the right place --- diff --git a/include/pwd.h b/include/pwd.h index fbdda3e7..37ca5208 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -36,7 +36,6 @@ 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 *); struct passwd *fgetpwent(FILE *); #endif diff --git a/include/unistd.h b/include/unistd.h index 67d17c14..b1a84d7e 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -166,6 +166,7 @@ int getdtablesize(void); void setusershell(void); void endusershell(void); char *getusershell(void); +char *getpass(const char *); #endif #ifdef _LARGEFILE64_SOURCE