move getpass decl to the right place
authorRich Felker <dalias@aerifal.cx>
Mon, 21 May 2012 02:56:06 +0000 (22:56 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 21 May 2012 02:56:06 +0000 (22:56 -0400)
include/pwd.h
include/unistd.h

index fbdda3e..37ca520 100644 (file)
@@ -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
 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
 
 #ifdef _GNU_SOURCE
-char *getpass(const char *);
 struct passwd *fgetpwent(FILE *);
 #endif
 
 struct passwd *fgetpwent(FILE *);
 #endif
 
index 67d17c1..b1a84d7 100644 (file)
@@ -166,6 +166,7 @@ int getdtablesize(void);
 void setusershell(void);
 void endusershell(void);
 char *getusershell(void);
 void setusershell(void);
 void endusershell(void);
 char *getusershell(void);
+char *getpass(const char *);
 #endif
 
 #ifdef _LARGEFILE64_SOURCE
 #endif
 
 #ifdef _LARGEFILE64_SOURCE