]> 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>
Fri, 20 Apr 2018 23:51:00 +0000 (19:51 -0400)
lib/dns/include/dns/portlist.h
lib/dns/include/dns/version.h

index 43fafce9806890c18c05445db3f332d16184c54c..7a30030ba4d948d94eb9e19258008787649b62c7 100644 (file)
@@ -9,8 +9,6 @@
  * information regarding copyright ownership.
  */
 
-/* $Id: portlist.h,v 1.9 2007/06/19 23:47:17 tbox Exp $ */
-
 /*! \file dns/portlist.h */
 
 #include <isc/lang.h>
@@ -19,6 +17,9 @@
 
 #include <dns/types.h>
 
+#ifndef DNS_PORTLIST_H
+#define DNS_PORTLIST_H 1
+
 ISC_LANG_BEGINDECLS
 
 isc_result_t
@@ -93,3 +94,5 @@ dns_portlist_detach(dns_portlist_t **portlistp);
  */
 
 ISC_LANG_ENDDECLS
+
+#endif /* DNS_PORTLIST_H */
index f87de6387a6612a84be54099a2a5f0a82b8e8e20..0552e81e407470ab5e57b9482c5c0418cc3e2d96 100644 (file)
@@ -9,10 +9,11 @@
  * information regarding copyright ownership.
  */
 
-/* $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[];
@@ -22,3 +23,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 */