]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add header guards in files that were missing them
authorEvan Hunt <each@isc.org>
Tue, 20 Mar 2018 09:16:29 +0000 (09:16 +0000)
committerEvan Hunt <each@isc.org>
Sun, 22 Apr 2018 20:01:07 +0000 (13:01 -0700)
(cherry picked from commit 4247477b6176e22695b3aeb1127f430cb3f878fc)
(cherry picked from commit 7f61e9d50ef4eba210bfcd01d22c9c98544b4d67)

lib/dns/include/dns/portlist.h
lib/dns/include/dns/version.h

index cba46babd8179b9cb42de574622588be6cd36a32..052a4580e423e0b4393ddddfe228b583e3f5234a 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: portlist.h,v 1.9 2007/06/19 23:47:17 tbox Exp $ */
-
 /*! \file dns/portlist.h */
 
 #include <isc/lang.h>
@@ -24,6 +22,9 @@
 
 #include <dns/types.h>
 
+#ifndef DNS_PORTLIST_H
+#define DNS_PORTLIST_H 1
+
 ISC_LANG_BEGINDECLS
 
 isc_result_t
@@ -98,3 +99,5 @@ dns_portlist_detach(dns_portlist_t **portlistp);
  */
 
 ISC_LANG_ENDDECLS
+
+#endif /* DNS_PORTLIST_H */
index ab2bc2d1c7d04557ace73a776322bb0dd524ea57..98668c877af24c7643f6ae5840872014c53af944 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: version.h,v 1.9 2007/06/19 23:47:17 tbox Exp $ */
-
 /*! \file dns/version.h */
 
+#ifndef DNS_VERSION_H
+#define DNS_VERSION_H 1
+
 #include <isc/platform.h>
 
 LIBDNS_EXTERNAL_DATA extern const char dns_version[];
@@ -25,3 +26,5 @@ LIBDNS_EXTERNAL_DATA extern const char dns_version[];
 LIBDNS_EXTERNAL_DATA extern const unsigned int dns_libinterface;
 LIBDNS_EXTERNAL_DATA extern const unsigned int dns_librevision;
 LIBDNS_EXTERNAL_DATA extern const unsigned int dns_libage;
+
+#endif /* DNS_VERSION_H */