about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/pwd.h1
-rw-r--r--include/unistd.h1
2 files changed, 1 insertions, 1 deletions
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