summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-11-14 14:51:24 +0000
committerJim Meyering <jim@meyering.net>2005-11-14 14:51:24 +0000
commitdb5eb389ad3dbc537e156e15db6c45ecd3455e7b (patch)
treee3dd3dd19a308e1f36dca5b6da9c9fc0b60e796e /lib
parent6b869921fa56c65e6d8cdac941c62d111e276d6e (diff)
downloadcoreutils-db5eb389ad3dbc537e156e15db6c45ecd3455e7b.tar.xz
Use #if !, not #ifndef, for AC_CHECK_DECLS.
Diffstat (limited to 'lib')
-rw-r--r--lib/getaddrinfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/getaddrinfo.h b/lib/getaddrinfo.h
index 54c9198bb..65f52cda6 100644
--- a/lib/getaddrinfo.h
+++ b/lib/getaddrinfo.h
@@ -82,7 +82,7 @@ struct addrinfo
# endif
# endif
-# ifndef HAVE_DECL_GETADDRINFO
+# if !HAVE_DECL_GETADDRINFO
/* Translate name of a service location and/or a service name to set of
socket addresses.
For more details, see the POSIX:2001 specification
@@ -93,14 +93,14 @@ extern int getaddrinfo (const char *restrict nodename,
struct addrinfo **restrict res);
# endif
-# ifndef HAVE_DECL_FREEADDRINFO
+# if !HAVE_DECL_FREEADDRINFO
/* Free `addrinfo' structure AI including associated storage.
For more details, see the POSIX:2001 specification
<http://www.opengroup.org/susv3xsh/getaddrinfo.html>. */
extern void freeaddrinfo (struct addrinfo *ai);
# endif
-# ifndef HAVE_DECL_GAI_STRERROR
+# if !HAVE_DECL_GAI_STRERROR
/* Convert error return from getaddrinfo() to a string.
For more details, see the POSIX:2001 specification
<http://www.opengroup.org/susv3xsh/gai_strerror.html>. */