Explorar o código

move getpass decl to the right place

Rich Felker %!s(int64=13) %!d(string=hai) anos
pai
achega
3db29f0347
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 0 1
      include/pwd.h
  2. 1 0
      include/unistd.h

+ 0 - 1
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
 

+ 1 - 0
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