]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add C++ declarations to dns/fixedname.h
authorOndřej Surý <ondrej@sury.org>
Wed, 5 Sep 2018 21:48:04 +0000 (23:48 +0200)
committerMark Andrews <marka@isc.org>
Wed, 5 Sep 2018 22:11:04 +0000 (08:11 +1000)
(cherry picked from commit 94a1c853668f30bda46b1cd26d8f30a913a658fe)

lib/dns/include/dns/fixedname.h

index 50e66e9474f4ce53c87d569a238a07b5fe256c1e..6a9b5551050dcfacfba687c5dabac5701016ed7c 100644 (file)
@@ -50,6 +50,7 @@
  *****/
 
 #include <isc/buffer.h>
+#include <isc/lang.h>
 
 #include <dns/name.h>
 
@@ -64,6 +65,8 @@ struct dns_fixedname {
        unsigned char                   data[DNS_NAME_MAXWIRE];
 };
 
+ISC_LANG_BEGINDECLS
+
 void
 dns_fixedname_init(dns_fixedname_t *fixed);
 
@@ -76,4 +79,6 @@ dns_fixedname_name(dns_fixedname_t *fixed);
 dns_name_t *
 dns_fixedname_initname(dns_fixedname_t *fixed);
 
+ISC_LANG_ENDDECLS
+
 #endif /* DNS_FIXEDNAME_H */