]> 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 19:58:36 +0000 (12:58 -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 e8ec60a5331395a7f96c673f3f651bd4fa06d17c..2c69b91f30896a0db88aaf5139dd9f8a70eb7758 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: version.h,v 1.9.1234.1 2012/02/11 22:37:57 each 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[];
@@ -27,3 +28,5 @@ LIBDNS_EXTERNAL_DATA extern const char dns_mapapi[];
 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 */