From: Amos Jeffries Date: Fri, 10 Dec 2010 09:49:50 +0000 (-0700) Subject: Policy: cleanup some duplicate config.h includes X-Git-Tag: take1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3cb1ffc19e14f0585a343769f41ad02910c65b6c;p=thirdparty%2Fsquid.git Policy: cleanup some duplicate config.h includes --- diff --git a/lib/libTrie/include/Trie.h b/lib/libTrie/include/Trie.h index 0c33c44465..b5d32e4680 100644 --- a/lib/libTrie/include/Trie.h +++ b/lib/libTrie/include/Trie.h @@ -25,10 +25,6 @@ * bindings. libtrie itself is written in C++. */ -#if HAVE_CONFIG_H -#include "config.h" -#endif - #if HAVE_SYS_TYPES_H #include #endif diff --git a/lib/libTrie/include/TrieCharTransform.h b/lib/libTrie/include/TrieCharTransform.h index 71174f8cf9..f020dee359 100644 --- a/lib/libTrie/include/TrieCharTransform.h +++ b/lib/libTrie/include/TrieCharTransform.h @@ -27,10 +27,6 @@ * For C bindings see Trie.h */ -#if HAVE_CONFIG_H -#include "config.h" -#endif - /* C bindings */ #ifndef __cplusplus diff --git a/lib/libTrie/include/TrieNode.h b/lib/libTrie/include/TrieNode.h index b113ae3a57..dc978d25f5 100644 --- a/lib/libTrie/include/TrieNode.h +++ b/lib/libTrie/include/TrieNode.h @@ -27,10 +27,6 @@ * For C bindings see Trei.h */ -#if HAVE_CONFIG_H -#include "config.h" -#endif - /* C bindings */ #ifndef __cplusplus diff --git a/src/comm/IoCallback.h b/src/comm/IoCallback.h index 9ce281a0ec..1d2b770672 100644 --- a/src/comm/IoCallback.h +++ b/src/comm/IoCallback.h @@ -1,7 +1,6 @@ #ifndef _SQUID_COMM_IOCALLBACK_H #define _SQUID_COMM_IOCALLBACK_H -#include "config.h" #include "base/AsyncCall.h" #include "comm_err_t.h" diff --git a/src/comm_err_t.h b/src/comm_err_t.h index 1cad2a36b9..1b22d3bbfc 100644 --- a/src/comm_err_t.h +++ b/src/comm_err_t.h @@ -1,8 +1,6 @@ #ifndef _SQUID_COMM_COMM_ERR_T_H #define _SQUID_COMM_COMM_ERR_T_H -#include "config.h" - typedef enum { COMM_OK = 0, COMM_ERROR = -1,