about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-20 22:56:06 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-20 22:56:06 -0400
commit3db29f0347976cd8f5eedf8a78cc3297a639714f (patch)
treeca967ec36f4fb2e6d69fee9495c1dc5011d4dfd2
parent01e94c46231f2670e9b0c1962f10de646674fded (diff)
downloadmusl-3db29f0347976cd8f5eedf8a78cc3297a639714f.tar.gz
musl-3db29f0347976cd8f5eedf8a78cc3297a639714f.tar.xz
musl-3db29f0347976cd8f5eedf8a78cc3297a639714f.zip
move getpass decl to the right place
-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