diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-15 04:45:43 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-15 04:45:43 +0000 |
commit | 6ef9a07334fff72a0f4ae8e548c303fdcc27eee8 (patch) | |
tree | 5a7a44abfce8a7af1c05c7cb3405b4f09d3580a9 /lib/getpass.h | |
parent | 6322c57beca9f21d140fe97d2ce14eae8216722d (diff) | |
download | gnulib-6ef9a07334fff72a0f4ae8e548c303fdcc27eee8.tar.gz |
Sync from coreutils.
* modules/yesno (Depends-on): Add getline.
* gethrxtime.c, gethrxtime.h, getpass.h, mountlist.h, path-concat.c,
regex.h, strtoll.c, unlocked-io.h, xtime.h:
White space changes only.
* makepath.c (make_path): Port to hosts where leading "//" is special.
* yesno.c: Include getline.h, not ctype.h.
(yesno): Don't remove leading white space; POSIX doesn't allow it.
Use getline to remove arbitrary restriction on response length.
Diffstat (limited to 'lib/getpass.h')
-rw-r--r-- | lib/getpass.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/getpass.h b/lib/getpass.h index 6018e07261..bdff8754d4 100644 --- a/lib/getpass.h +++ b/lib/getpass.h @@ -17,15 +17,15 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef GETPASS_H -#define GETPASS_H +# define GETPASS_H /* Get getpass declaration, if available. */ -#include <unistd.h> +# include <unistd.h> -#if defined HAVE_DECL_GETPASS && !HAVE_DECL_GETPASS +# if defined HAVE_DECL_GETPASS && !HAVE_DECL_GETPASS /* Read a password of arbitrary length from /dev/tty or stdin. */ char *getpass (const char *prompt); -#endif +# endif #endif /* GETPASS_H */ |