summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-07-22 21:31:42 +0200
committerBruno Haible <bruno@clisp.org>2012-07-22 21:31:42 +0200
commit8d46fac47cefe83eb525daf763a9a8933c28e2f6 (patch)
treee1d2d2865039ef8f7f1e7c0fd3dbaaa1cebd6918 /lib
parent6c37e0a73c7c1b6fe6eac4d794e2e65791a2700d (diff)
downloadgnulib-8d46fac47cefe83eb525daf763a9a8933c28e2f6.tar.gz
getpass: Assume AC_CHECK_DECLS_ONCE invocation, like in getpass.m4.
* lib/getpass.h: Assume HAVE_DECL_GETPASS is defined. * cfg.mk (exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests): Remove exemption for getpass.h. Suggested by Eric Blake.
Diffstat (limited to 'lib')
-rw-r--r--lib/getpass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getpass.h b/lib/getpass.h
index 1a67192572..1eeedffe15 100644
--- a/lib/getpass.h
+++ b/lib/getpass.h
@@ -21,7 +21,7 @@
/* Get getpass declaration, if available. */
# include <unistd.h>
-# if defined HAVE_DECL_GETPASS && !HAVE_DECL_GETPASS
+# if !HAVE_DECL_GETPASS
/* Read a password of arbitrary length from /dev/tty or stdin. */
char *getpass (const char *prompt);