]> 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)
committerOndřej Surý <ondrej@isc.org>
Wed, 5 Sep 2018 22:00:32 +0000 (18:00 -0400)
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 */