summaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-12 10:23:29 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-12 10:23:29 +0000
commitfa5ba5d944f5e2a312c0a15835afc926e2aabffb (patch)
tree5af20cf839e562307c70590a06a0cfae25c5a7f5 /resolv
parentd055097bc4036c5687ad4a9d4b43490f11b0e5fb (diff)
downloadglibc-fa5ba5d944f5e2a312c0a15835afc926e2aabffb.tar.gz
Update.
1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de> * resolv/arpa/nameser.h: Add C++ protectors.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/arpa/nameser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/resolv/arpa/nameser.h b/resolv/arpa/nameser.h
index e9bf744ea4..122168c270 100644
--- a/resolv/arpa/nameser.h
+++ b/resolv/arpa/nameser.h
@@ -249,6 +249,8 @@
/* glibc always has byte order info in <endian.h> */
#include <endian.h>
+__BEGIN_DECLS
+
/*
* Structure for query header. The order of the fields is machine- and
* compiler-dependent, depending on the byte/bit order and the layout
@@ -343,4 +345,6 @@ extern u_int32_t _getlong __P((const u_char *));
(cp) += INT32SZ; \
}
+__END_DECLS
+
#endif /* arpa/nameser.h */