diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-20 22:56:06 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-20 22:56:06 -0400 |
commit | 3db29f0347976cd8f5eedf8a78cc3297a639714f (patch) | |
tree | ca967ec36f4fb2e6d69fee9495c1dc5011d4dfd2 | |
parent | 01e94c46231f2670e9b0c1962f10de646674fded (diff) | |
download | musl-3db29f0347976cd8f5eedf8a78cc3297a639714f.tar.gz musl-3db29f0347976cd8f5eedf8a78cc3297a639714f.tar.xz musl-3db29f0347976cd8f5eedf8a78cc3297a639714f.zip |
move getpass decl to the right place
-rw-r--r-- | include/pwd.h | 1 | ||||
-rw-r--r-- | include/unistd.h | 1 |
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 |