]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #2031: Double included headers
authorRalph Dolmans <ralph@nlnetlabs.nl>
Wed, 25 Oct 2017 13:30:32 +0000 (13:30 +0000)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Wed, 25 Oct 2017 13:30:32 +0000 (13:30 +0000)
git-svn-id: file:///svn/unbound/trunk@4388 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
services/localzone.c
testcode/unitmain.c
util/configlexer.lex
util/ub_event.c

index 8fae848c3ead33db4fad86e885299632d9309c79..b53e38e6659faece025fc2d1b3ae3c607a38722d 100644 (file)
@@ -1,6 +1,7 @@
 25 October 2017: Ralph
        - Fixed libunbound manual typo.
        - Fix #1949: [dnscrypt] make provider name mismatch more obvious.
+       - Fix #2031: Double included headers
 
 24 October 2017: Ralph
        - Update B root ipv4 address.
index 6bde432e8d0973ca4ef3e21843b4c7cad2cd1180..90106d5c809b9ad0e7e5d1221bf211b507612819 100644 (file)
@@ -52,7 +52,6 @@
 #include "util/data/msgreply.h"
 #include "util/data/msgparse.h"
 #include "util/as112.h"
-#include "util/config_file.h"
 
 /* maximum RRs in an RRset, to cap possible 'endless' list RRs.
  * with 16 bytes for an A record, a 64K packet has about 4000 max */
index d662991bab5de379a04d4126a047e44b206c3c0a..57883d183b9f1cf7cb03821017f6d3b67b8e48d6 100644 (file)
@@ -433,7 +433,6 @@ rtt_test(void)
 }
 
 #include "services/cache/infra.h"
-#include "util/config_file.h"
 
 /* lookup and get key and data structs easily */
 static struct infra_data* infra_lookup_host(struct infra_cache* infra,
index c30c44b5d56ca94f8c9f71d98719c974a458a725..793c70bcb8a877ca8b4ded52027238e598e4e20b 100644 (file)
@@ -14,7 +14,6 @@
 #endif
 
 #include <ctype.h>
-#include <string.h>
 #include <strings.h>
 #ifdef HAVE_GLOB_H
 # include <glob.h>
index 3b92be1a30251a6257898019b2674254d9e8bf19..fba2f2488296752496388ed90fab63b04ce08797 100644 (file)
@@ -427,7 +427,7 @@ ub_winsock_tcp_wouldblock(struct ub_event* ev, int eventbits)
 
 void ub_comm_base_now(struct comm_base* cb)
 {
-       #ifdef USE_MINI_EVENT
+#ifdef USE_MINI_EVENT
 /** minievent updates the time when it blocks. */
        (void)cb; /* nothing to do */
 #else /* !USE_MINI_EVENT */