From 3db29f0347976cd8f5eedf8a78cc3297a639714f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 20 May 2012 22:56:06 -0400 Subject: [PATCH] move getpass decl to the right place --- include/pwd.h | 1 - include/unistd.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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