]> git.kaiwu.me - haproxy.git/commitdiff
CLEANUP: tree-wide: remove unneeded dependencies on tools.h
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Nov 2026 10:47:43 +0000 (11:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Nov 2026 11:39:01 +0000 (12:39 +0100)
110 files were including tools.h without needing it, despite this file
being large and coming itself with many dependencies. This patch removes
these includes or replaces them with smaller ones when appropriate. All
these files were successfully built.

This reduces the total preprocessed size by ~1%:
  - before: 8643090 lines, 260047208 total bytes
  - after:  8562136 lines, 258459721 total bytes

113 files changed:
addons/promex/service-prometheus.c
dev/hpack/decode.c
include/haproxy/fix.h
include/haproxy/mqtt.h
include/haproxy/trace.h
src/acme.c
src/acme_resolvers.c
src/activity.c
src/backend.c
src/cache.c
src/cfgcond.c
src/cfgparse-global.c
src/cfgparse-listen.c
src/cfgparse-peers.c
src/cfgparse-quic.c
src/cfgparse-ssl.c
src/cfgparse-tcp.c
src/cfgparse-unix.c
src/cfgparse.c
src/check.c
src/cli.c
src/compression.c
src/connection.c
src/cpu_topo.c
src/cpuset.c
src/debug.c
src/dns.c
src/errors.c
src/ev_epoll.c
src/event_hdl.c
src/extcheck.c
src/fcgi-app.c
src/fd.c
src/filters.c
src/flt_bwlim.c
src/flt_decomp.c
src/flt_http_comp.c
src/flt_spoe.c
src/flt_trace.c
src/freq_ctr.c
src/frontend.c
src/h1.c
src/h3.c
src/haload.c
src/haproxy.c
src/hlua.c
src/hlua_fcn.c
src/hpack-dec.c
src/http.c
src/http_acl.c
src/http_act.c
src/http_client.c
src/http_conv.c
src/http_ext.c
src/http_fetch.c
src/http_htx.c
src/http_rules.c
src/httpclient_cli.c
src/jwe.c
src/lb_chash.c
src/listener.c
src/log.c
src/mailers.c
src/map.c
src/mqtt.c
src/mux_quic.c
src/mworker.c
src/pattern.c
src/payload.c
src/peers.c
src/pool.c
src/proto_quic.c
src/proto_sockpair.c
src/proto_tcp.c
src/proto_udp.c
src/proto_uxdg.c
src/proto_uxst.c
src/protocol.c
src/proxy.c
src/qpack-dec.c
src/queue.c
src/quic_cli.c
src/quic_conn.c
src/quic_sock.c
src/quic_token.c
src/raw_sock.c
src/resolvers.c
src/sample.c
src/server.c
src/server_state.c
src/session.c
src/sink.c
src/sock.c
src/ssl_ckch.c
src/ssl_crtlist.c
src/ssl_gencert.c
src/ssl_ocsp.c
src/ssl_sample.c
src/ssl_sock.c
src/ssl_utils.c
src/stats-html.c
src/stats-proxy.c
src/stats.c
src/stick_table.c
src/stream.c
src/sym.c
src/systemd.c
src/tcp_act.c
src/tcp_rules.c
src/tcp_sample.c
src/tcpcheck.c
src/thread.c
src/vars.c

index fd9a81467dd6738555163bd4918110d0eb41b2b8..043b90e8ce689ef172bde4f3ff0cde12aba6f065 100644 (file)
@@ -38,7 +38,6 @@
 #include <haproxy/stream.h>
 #include <haproxy/stress.h>
 #include <haproxy/task.h>
-#include <haproxy/tools.h>
 #include <haproxy/version.h>
 #include <haproxy/xxhash.h>
 
index 13c95c77a10148ee8679d1732ee01ae90233758f..58fcc705be3d652374a9ebd20b7692c15e73f727 100644 (file)
@@ -20,6 +20,7 @@
 #include <unistd.h>
 #include <haproxy/chunk.h>
 #include <haproxy/hpack-dec.h>
+#include <haproxy/tools.h>
 
 #define MAX_RQ_SIZE 65536
 #define MAX_HDR_NUM 1000
index 94aa8154727bd10209dc0ed5490a2d55c08ba878..d588e43f30272b4442a3d2ae3396a3bdfa6d352b 100644 (file)
@@ -25,7 +25,6 @@
 #include <import/ist.h>
 
 #include <haproxy/fix-t.h>
-#include <haproxy/tools.h>
 
 unsigned int fix_check_id(const struct ist str, const struct ist version);
 int fix_validate_message(const struct ist msg);
index 6720bb7d765aab258e42ab94a02dbc9e6336cbc6..a1b00cee2ba5824f483d0668c9287e509fb4e1f8 100644 (file)
@@ -25,7 +25,6 @@
 #include <import/ist.h>
 
 #include <haproxy/mqtt-t.h>
-#include <haproxy/tools.h>
 
 /* expected flags for control packets */
 extern uint8_t mqtt_cpt_flags[MQTT_CPT_ENTRIES];
index bdd4059c4b9148bfad484f1f268e9d2504edd163..32b54b6498b9b4b619243b0849bb3497c01ca904 100644 (file)
@@ -26,7 +26,6 @@
 #include <haproxy/api.h>
 #include <haproxy/list.h>
 #include <haproxy/sink-t.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace-t.h>
 
 /* Make a string from the location of the trace producer as "file:line" */
index ecf5367447209ad2e97f21a1d3568e0e6079ab50..a1da89bd0c9d78feea6c91470142bd19cb206867 100644 (file)
@@ -36,7 +36,6 @@
 #include <haproxy/ssl_gencert.h>
 #include <haproxy/ssl_sock.h>
 #include <haproxy/ssl_utils.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 #ifdef USE_LUA
 #include <lua.h>
index 3af73da604c9ee964f50d24a6145c9eeab6eccaf..26c808ced14647911c8712acf1c09f181465c402 100644 (file)
@@ -16,7 +16,6 @@
 #include <haproxy/applet.h>
 #include <haproxy/obj_type.h>
 #include <haproxy/resolvers.h>
-#include <haproxy/tools.h>
 
 /* success callback, copy the TXT string to rslv->txt */
 static int acme_rslv_success_cb(struct resolv_requester *req, struct dns_counters *counters)
index 4357c35adce7dee3c234eaf25a55a920a350dd3c..ea1d1fed6aa42fd071c463b2f8eac951eccea9c5 100644 (file)
@@ -23,7 +23,6 @@
 #include <haproxy/sc_strm.h>
 #include <haproxy/stconn.h>
 #include <haproxy/sym.h>
-#include <haproxy/tools.h>
 
 /* CLI context for the "show profiling" command */
 struct show_prof_ctx {
index ae2154f8e55dd3a160458658d5a03269419654ac..62bc76e22a249d051568ee53599cdbced39b3737 100644 (file)
@@ -59,7 +59,6 @@
 #include <haproxy/task.h>
 #include <haproxy/ticks.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 
 #define TRACE_SOURCE &trace_strm
index da9245cee36667679a614f17922df628fcf74ba5..e47199702f24db016f5a3b072a8576b3720ce518 100644 (file)
@@ -34,7 +34,6 @@
 #include <haproxy/shctx.h>
 #include <haproxy/stconn.h>
 #include <haproxy/stream.h>
-#include <haproxy/tools.h>
 #include <haproxy/xxhash.h>
 
 #define CACHE_FLT_F_IMPLICIT_DECL  0x00000001 /* The cache filtre was implicitly declared (ie without
index 25a2c547345c6b458120beb8bafbc76fce588eb5..7bf20338082421843bbcbb86b9898c05570dc406 100644 (file)
@@ -13,6 +13,7 @@
 #include <haproxy/api.h>
 #include <haproxy/arg.h>
 #include <haproxy/cfgcond.h>
+#include <haproxy/global.h>
 #include <haproxy/proto_tcp.h>
 #include <haproxy/tools.h>
 #include <haproxy/version.h>
index b3770c91cedb6eda33ca4dabb6cb9cda377cd383..433bafa661ab3902905b190c51948e766afb9bf8 100644 (file)
@@ -28,7 +28,6 @@
 #include <haproxy/stats-file.h>
 #include <haproxy/stress.h>
 #include <haproxy/sym.h>
-#include <haproxy/tools.h>
 
 int cluster_secret_isset;
 
index 0d3284b0b01305086c8d6853ddd221d1e02e59cc..6e5df1483b5131c553b3786b031951202e777175 100644 (file)
@@ -33,7 +33,6 @@
 #include <haproxy/server.h>
 #include <haproxy/stick_table.h>
 #include <haproxy/tcpcheck.h>
-#include <haproxy/tools.h>
 #include <haproxy/uri_auth.h>
 
 /* Options which are not described in the cfg_opts* arrays because they need a
index 0fbf286b5f91662a017db9d6d5287de2ab4b4628..2e66da6e3aba2e4e91d4485c65609d52a0816b5e 100644 (file)
@@ -21,7 +21,6 @@
 #include <haproxy/proxy.h>
 #include <haproxy/server.h>
 #include <haproxy/stick_table.h>
-#include <haproxy/tools.h>
 
 /* Allocate and initialize the frontend of a "peers" section found in
  * file <file> at line <linenum> with <id> as ID.
index 159a24285039f73a1cef57f1624076488627ad24..b555aea8ef36e60cfcb07f98032d2c8bd21bf5bc 100644 (file)
@@ -16,7 +16,6 @@
 #include <haproxy/quic_cc.h>
 #include <haproxy/quic_rules.h>
 #include <haproxy/quic_tune.h>
-#include <haproxy/tools.h>
 
 #define QUIC_CC_NEWRENO_STR "newreno"
 #define QUIC_CC_CUBIC_STR   "cubic"
index 2e4e6770ff5352e18515d65ef427385808fe9748..1b6b89b8d21feb3a7e587872ee9de43a67f7fc91 100644 (file)
@@ -42,7 +42,6 @@
 #include <haproxy/quic_tune.h>
 #include <haproxy/ssl_sock.h>
 #include <haproxy/ssl_utils.h>
-#include <haproxy/tools.h>
 #include <haproxy/ssl_ckch.h>
 #include <haproxy/ssl_crtlist.h>
 #include <haproxy/ssl_ocsp.h>
index ba713f9a920b9ceacc2097fdeb68734acf84a5be..878ede71dcd86276ffedf19be51ad589d3941792 100644 (file)
@@ -33,7 +33,6 @@
 #include <haproxy/namespace.h>
 #include <haproxy/proxy-t.h>
 #include <haproxy/server.h>
-#include <haproxy/tools.h>
 
 
 #ifdef IPV6_V6ONLY
index b1fb1e2804416f3b39e3b7cfdf0d95b8e35100ea..ce9412d0e1843ff3ab45bfa449ee57a3c91d1785 100644 (file)
@@ -35,7 +35,6 @@
 #include <haproxy/namespace.h>
 #include <haproxy/proxy-t.h>
 #include <haproxy/server.h>
-#include <haproxy/tools.h>
 
 /* parse the "mode" bind keyword */
 static int bind_parse_mode(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err)
index 5fb3c76489cef8637ea9277427a442177c2f01e7..aaaf8a736255aae39317f0e454c1dda51e7bca28 100644 (file)
@@ -96,7 +96,6 @@
 #include <haproxy/tcp_rules.h>
 #include <haproxy/tcpcheck.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 #include <haproxy/uri_auth.h>
 
 
index 53c8f37048e9da4d0120d9c8cdda63cf4a824a82..15c7ba49e6eebea307983a6562967386befc3462 100644 (file)
@@ -62,7 +62,6 @@
 #include <haproxy/tcpcheck.h>
 #include <haproxy/thread.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 #include <haproxy/vars.h>
 
index 8863bea217c8f4908f51f2fa9943a656f14e797a..bca4245fa555ad6603cdc06f454babdb8761a373 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -63,7 +63,6 @@
 #include <haproxy/task.h>
 #include <haproxy/ticks.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/twork.h>
 #include <haproxy/version.h>
 
index 0828422630f08aaed6c9161e122cae3a52c7b99c..12dd1a33f0fe3d8399e86e375b11d2a54466ed60 100644 (file)
@@ -34,7 +34,6 @@
 #include <haproxy/pool.h>
 #include <haproxy/stream.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 
 
 #if defined(USE_ZLIB)
index 051efc22a1b6369590537d922a7298ae3e377f53..9500c00c45dd0ca259a793dbec6e510eb917e9e5 100644 (file)
@@ -34,7 +34,6 @@
 #include <haproxy/ssl_sock.h>
 #include <haproxy/stconn.h>
 #include <haproxy/tcpcheck.h>
-#include <haproxy/tools.h>
 #include <haproxy/xxhash.h>
 
 
index fefefc9f09cc1c8ac7913f3cbad82f68172645f1..902f4da40b7936370ecd9c3452f51a1e674f29d3 100644 (file)
@@ -11,7 +11,6 @@
 #include <haproxy/cpu_topo.h>
 #include <haproxy/global.h>
 #include <haproxy/log.h>
-#include <haproxy/tools.h>
 
 /* for cpu_set.flags below */
 #define CPU_SET_FL_NONE       0x0000
index 34dce9202ffd1a48042d1f3e2e319809930bb05c..7e536ec0da1adc323918d3261f6e1f35b2d29b97 100644 (file)
@@ -1,5 +1,6 @@
 #define _GNU_SOURCE
 
+#include <ctype.h>
 #include <haproxy/compat.h>
 #include <haproxy/cpuset.h>
 #include <haproxy/intops.h>
index 09f09de0a6a43cc655c1dfc065e1f380d1b3439d..0a98a5fdc6aee396c055f785057c93a9d864935a 100644 (file)
@@ -56,7 +56,6 @@
 #include <haproxy/task.h>
 #include <haproxy/thread.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 #include <haproxy/version.h>
 #include <import/ist.h>
index 093e02f709a7975d9e2611cfe75f141eede13936..ddfe62392f1897a0f6baf2f645a40467169ef998 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
@@ -35,7 +35,6 @@
 #include <haproxy/sc_strm.h>
 #include <haproxy/stconn.h>
 #include <haproxy/stream.h>
-#include <haproxy/tools.h>
 
 static THREAD_LOCAL char *dns_msg_trash;
 
index 5f55ac9d7d3809ddb77319f08aa48f5ab899d734..bee697f158235fbc4bd5a35fca38ed035a0f60f6 100644 (file)
@@ -15,7 +15,6 @@
 #include <haproxy/obj_type.h>
 #include <haproxy/ring.h>
 #include <haproxy/sym.h>
-#include <haproxy/tools.h>
 #include <haproxy/version.h>
 
 /* A global buffer used to store all startup alerts/warnings. It will then be
index 6183d449a68754980f8c0a9a795d2b14debadea6..736f108f493752ca8d603b6faa163d4984d5b4f5 100644 (file)
@@ -9,6 +9,7 @@
  * 2 of the License, or (at your option) any later version.
  */
 
+#include <errno.h>
 #include <unistd.h>
 #include <sys/epoll.h>
 #include <sys/time.h>
index d7ed7aae2b3bb97592662c66a8c0e0df60db2776..1116f9fb124acd88b78a4161cfbf85fecc0ba19a 100644 (file)
 #include <haproxy/event_hdl.h>
 #include <haproxy/compiler.h>
 #include <haproxy/task.h>
-#include <haproxy/tools.h>
 #include <haproxy/errors.h>
 #include <haproxy/signal.h>
 #include <haproxy/xxhash.h>
 #include <haproxy/cfgparse.h>
+#include <haproxy/tools.h>
 
 /* event types changes in event_hdl-t.h file should be reflected in the
  * map below to allow string to type and type to string conversions
index e19c30afc4c39b3e1ed6ce746f021f61d9dd5391..63515602a22cd5f12279f27ba790da6569375836 100644 (file)
@@ -40,7 +40,6 @@
 #include <haproxy/stream-t.h>
 #include <haproxy/task.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 
 
 static struct list pid_list = LIST_HEAD_INIT(pid_list);
index 4c3d0114d8c7ea621890d8d8672fb3666459d65f..d01e174c05ec17d7a4672cfc8535da2d44502056 100644 (file)
@@ -26,7 +26,6 @@
 #include <haproxy/server-t.h>
 #include <haproxy/session.h>
 #include <haproxy/sink.h>
-#include <haproxy/tools.h>
 
 
 /* Global list of all FCGI applications */
index 1a7af18b6ed408862408dd717b4bb8cfca9b7b2f..af7d15c37d163435427fdad6ee2caed6ccfcead6 100644 (file)
--- a/src/fd.c
+++ b/src/fd.c
@@ -97,7 +97,6 @@
 #include <haproxy/port_range.h>
 #include <haproxy/thread.h>
 #include <haproxy/ticks.h>
-#include <haproxy/tools.h>
 
 
 THREAD_LOCAL struct fdtab *fdtab = NULL;  /* array of all the file descriptors */
index 11188feb6b12039d77a25a42e965c8e93b13814b..aaec01af47387e5489a3a447d44451911361551a 100644 (file)
@@ -29,7 +29,6 @@
 #include <haproxy/proxy.h>
 #include <haproxy/stream.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 #include <haproxy/twork.h>
 #include <haproxy/trace.h>
 
index acdcd75db129fe0baac5f807737a1d0ec2532efe..7d33f52dda80d1d03c2a3e978274bf3d30ab15bf 100644 (file)
@@ -24,7 +24,6 @@
 #include <haproxy/stream.h>
 #include <haproxy/tcp_rules.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 
 const char *bwlim_in_flt_id = "input bandwidth limitation filter";
 const char *bwlim_out_flt_id = "output bandwidth limitation filter";
index a46b0f51052e344c93407587e275071f8d88e787..bd33ec7b54dfeb14c91b35cbf54abe8536bd8b4d 100644 (file)
@@ -31,7 +31,6 @@
 #include <haproxy/proxy.h>
 #include <haproxy/sample.h>
 #include <haproxy/stream.h>
-#include <haproxy/tools.h>
 
 #define DECOMP_STATE_PROCESSING 0x01
 #define DECOMP_STATE_EOM_SEEN   0x02
index 93b7107f71b23487404db530bfaa76b73d42599c..90ed6636038f295d4a14dd97156d03c1701d9d12 100644 (file)
@@ -23,7 +23,6 @@
 #include <haproxy/proxy.h>
 #include <haproxy/sample.h>
 #include <haproxy/stream.h>
-#include <haproxy/tools.h>
 
 #define COMP_STATE_PROCESSING 0x01
 
index 59d2e927030a716fedf46afd5e691f15975a5095..d9072f4cb39411fef5df30e2d8bbd6562797e3fa 100644 (file)
@@ -39,7 +39,6 @@
 #include <haproxy/tcp_rules.h>
 #include <haproxy/thread.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/vars.h>
 
 
index a29cc786ba68c6325da12dfa080638c68328e4e1..de75cdbc6703af0c248b52a0cdb5765aef605eba 100644 (file)
@@ -23,7 +23,6 @@
 #include <haproxy/proxy-t.h>
 #include <haproxy/stream.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 
 const char *trace_flt_id = "trace filter";
 const char *trace_filter_cls_name = "trace";
index 205e43147f36f92ed8fa38fdddbd6808a15ab97d..2743c0936aeaa58b64dbfd157cb404293b45154b 100644 (file)
@@ -12,7 +12,6 @@
 
 #include <haproxy/api.h>
 #include <haproxy/freq_ctr.h>
-#include <haproxy/tools.h>
 
 /* Update a frequency counter by <inc> incremental units. It is automatically
  * rotated if the period is over. It is important that it correctly initializes
index f7e8cc12f448ef4b9ff4f7cf33d0ac3341384e30..6cf0a571ddc4632d9432318d3fd8651ba464b052 100644 (file)
@@ -40,7 +40,6 @@
 #include <haproxy/stream.h>
 #include <haproxy/task.h>
 #include <haproxy/ticks.h>
-#include <haproxy/tools.h>
 
 
 /* Finish a stream accept() for a proxy (TCP or HTTP). It returns a negative
index 41cd4d700cb100a0b5ffbc0b5e1ae8e920029941..7b239b6ecdf64a28a7bc0891aeca2a785cc75449 100644 (file)
--- a/src/h1.c
+++ b/src/h1.c
@@ -17,6 +17,7 @@
 #include <haproxy/api.h>
 #include <haproxy/base64.h>
 #include <haproxy/cfgparse.h>
+#include <haproxy/global.h>
 #include <haproxy/h1.h>
 #include <haproxy/http-hdr.h>
 #include <haproxy/tools.h>
index 49e847a91378a228e474190bc4ac0d5663e22a23..1f990dad2d4c2437451b886bc5c3c2566cbc9b20 100644 (file)
--- a/src/h3.c
+++ b/src/h3.c
@@ -41,7 +41,6 @@
 #include <haproxy/quic_fctl.h>
 #include <haproxy/quic_frame.h>
 #include <haproxy/quic_utils.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 
 /* trace source and events */
index d80473765c1ca817f00825073e109cc3bae82906..31416f7d6bceb2a95ef106ee47365d46e80b7b8f 100644 (file)
@@ -21,7 +21,6 @@
 #include <haproxy/stats.h>
 #include <haproxy/stconn.h>
 #include <haproxy/stream.h>
-#include <haproxy/tools.h>
 
 /* haload stream state flags */
 #define HLD_STRM_ST_IN_ALLOC     0x0001
index 931aaa66d4676b592c92195ee753db9864e28cce..ea03e5b8467ef3ce742eaa42e1652f44317afe95 100644 (file)
 #include <haproxy/task.h>
 #include <haproxy/thread.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 #include <haproxy/uri_auth-t.h>
 #include <haproxy/vars.h>
index 18471cb7538e305543901c7c492815c76eba26d1..51338956b24406df3a24dfde65a3fa1db02f7ebe 100644 (file)
@@ -67,7 +67,6 @@
 #include <haproxy/task.h>
 #include <haproxy/tcp_rules.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 #include <haproxy/vars.h>
 #include <haproxy/xref.h>
 #include <haproxy/event_hdl.h>
index 15e96346ba6e2acdea4ff6badb7063c205115939..a138f863fe9b4fe2ecc621a582c0ad04e2b2f351 100644 (file)
@@ -39,7 +39,6 @@
 #include <haproxy/event_hdl.h>
 #include <haproxy/stream-t.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/mailers.h>
 
 /* Contains the class reference of the concat object. */
index e9a05100791dbcf81411d470a4c559cbc7e47e95..83ae4cfd39d74445be9f16b89107b5c074187eb2 100644 (file)
@@ -37,7 +37,6 @@
 #include <haproxy/hpack-dec.h>
 #include <haproxy/hpack-huff.h>
 #include <haproxy/hpack-tbl.h>
-#include <haproxy/tools.h>
 
 
 #if defined(DEBUG_HPACK)
index 7701a8b5dfc84948043823a7263d7106e49041a3..3693738cfb803f442abd78cb92db3f872e183d1e 100644 (file)
@@ -20,7 +20,6 @@
 #include <haproxy/errors.h>
 #include <haproxy/http.h>
 #include <haproxy/init.h>
-#include <haproxy/tools.h>
 
 /* It is about twice as fast on recent architectures to lookup a byte in a
  * table than to perform a boolean AND or OR between two tests. Refer to
index bf29fc3e1a6a767a8986c382f51ce3e3da088ca9..1569261696bb79e74c715cc87eb05de781826163 100644 (file)
@@ -24,7 +24,6 @@
 #include <haproxy/http.h>
 #include <haproxy/pattern.h>
 #include <haproxy/pool.h>
-#include <haproxy/tools.h>
 #include <haproxy/version.h>
 
 
index 48dae6dcd0ba7fb1b09ad36ddacd4a32e8600ea9..3c2cb3f4cca3e061ccee7ee47ee64d2585097171 100644 (file)
@@ -36,7 +36,6 @@
 #include <haproxy/sample.h>
 #include <haproxy/sc_strm.h>
 #include <haproxy/stconn.h>
-#include <haproxy/tools.h>
 #include <haproxy/uri_auth-t.h>
 #include <haproxy/uri_normalizer.h>
 #include <haproxy/version.h>
index c9d2ee0a03470ac07e76108b4b0e8eb04f031198..5df25a0afb6a5a45758191c4f8513d17cc145a72 100644 (file)
@@ -41,7 +41,6 @@
 #include <haproxy/ssl_sock.h>
 #include <haproxy/sock_inet.h>
 #include <haproxy/stconn.h>
-#include <haproxy/tools.h>
 
 #include <string.h>
 
index 0a394a1b3532b0e91395ba7a233b2928f823cc24..39b18b7cf3a4a64a8646e725d397fb6c17048670 100644 (file)
@@ -24,7 +24,6 @@
 #include <haproxy/pool.h>
 #include <haproxy/sample.h>
 #include <haproxy/stream.h>
-#include <haproxy/tools.h>
 #include <haproxy/version.h>
 
 static int smp_check_http_date_unit(struct arg *args, struct sample_conv *conv,
index bed876cccf82638fc9ecb9a4edadb5b7e03348a4..070f9763bd3617b8d1d098fc7ee1da00304c2746 100644 (file)
@@ -29,7 +29,6 @@
 #include <haproxy/cfgparse.h>
 #include <haproxy/arg.h>
 #include <haproxy/initcall.h>
-#include <haproxy/tools.h>
 
 /*
  * =========== ANALYZE ===========
index af9250978c82d484a4aa7d129a7e4afca33c0c99..9aebb344b3ecd2bac9a0ef1cf25e93295189b5aa 100644 (file)
@@ -38,7 +38,6 @@
 #include <haproxy/sc_strm.h>
 #include <haproxy/stream.h>
 #include <haproxy/log.h>
-#include <haproxy/tools.h>
 #include <haproxy/version.h>
 
 
index 51853655923752af3b08ad34ed5efa3b20f0973c..4cb45e3abe5cc6ddfe467eec8eea416c32b19b20 100644 (file)
@@ -28,7 +28,6 @@
 #include <haproxy/log.h>
 #include <haproxy/regex.h>
 #include <haproxy/sample.h>
-#include <haproxy/tools.h>
 
 
 struct buffer http_err_chunks[HTTP_ERR_SIZE];
index da8fe145d060467fe90f226fd38007c5b899e15c..61849698710075b6deb53fe45c28fe82c30d605e 100644 (file)
@@ -31,7 +31,6 @@
 #include <haproxy/pool.h>
 #include <haproxy/proxy.h>
 #include <haproxy/sample.h>
-#include <haproxy/tools.h>
 #include <haproxy/version.h>
 
 
index 5e4e58d01ddf7a7c1b693182acd0be7d2f14d115..65e5267fc624574d9944e3c2201314ed064ddca1 100644 (file)
@@ -9,7 +9,6 @@
 #include <haproxy/istbuf.h>
 #include <haproxy/h1_htx.h>
 #include <haproxy/http_client.h>
-#include <haproxy/tools.h>
 
 #include <string.h>
 
index 02dd0d4f57a976991c3587c2fe64574fc2090f57..59cd2515ffb6e76ca6c18d9021b390bf415380a6 100644 (file)
--- a/src/jwe.c
+++ b/src/jwe.c
@@ -3,7 +3,6 @@
 #include <stdio.h>
 
 #include <haproxy/jwt.h>
-#include <haproxy/tools.h>
 #include <haproxy/base64.h>
 #include <haproxy/chunk.h>
 #include <haproxy/init.h>
index 6d54e9f35c6a9d3b76b346087c0a3392fe4ae876..d1b3acf49a72cc5373cdf34e0233802df463727a 100644 (file)
@@ -24,7 +24,6 @@
 #include <haproxy/proxy.h>
 #include <haproxy/queue.h>
 #include <haproxy/server.h>
-#include <haproxy/tools.h>
 #include <haproxy/xxhash.h>
 
 /* Return next tree node after <node> which must still be in the tree, or be
index f7d087f9abfa879f09bdc90dc2e14d8dc3eb00c0..dd83aaaa303fc5aa50e08beec1184700407a1e3d 100644 (file)
@@ -44,7 +44,6 @@
 #include <haproxy/stream.h>
 #include <haproxy/task.h>
 #include <haproxy/ticks.h>
-#include <haproxy/tools.h>
 #include <haproxy/twork.h>
 
 
index 08681070b7704137baaa3abce5add6dffe6e3a84..050f5b3d58d278f109108238aceca57016170fe8 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -49,7 +49,6 @@
 #include <haproxy/action.h>
 #include <haproxy/time.h>
 #include <haproxy/hash.h>
-#include <haproxy/tools.h>
 #include <haproxy/vecpair.h>
 
 /* global recv logs counter */
index 451b1e2ee9ac23db7a1e5ceba6d24c3b07dc53ce..5392550b6827a045f50a8b263152ae070be77bf9 100644 (file)
@@ -21,7 +21,6 @@
 #include <haproxy/server-t.h>
 #include <haproxy/task.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 
 int mailers_used_from_lua = 0;
 
index 981d8f6eead60cb62b977a34b9e8e68c00a60260..3e03b3e32e62108b8087d792e608048c09da711a 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -23,7 +23,6 @@
 #include <haproxy/sample.h>
 #include <haproxy/sc_strm.h>
 #include <haproxy/stconn.h>
-#include <haproxy/tools.h>
 
 
 /* Parse an IPv4 or IPv6 address and store it into the sample.
index 11a1eb4748f1492104f3233b83361a4d932951d5..93805a5ea42c135bff12ba810ca38138dac6cef0 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <haproxy/chunk.h>
+#include <haproxy/intops.h>
 #include <haproxy/mqtt.h>
 
 uint8_t mqtt_cpt_flags[MQTT_CPT_ENTRIES] = {
index c490a8e08f6499c08258d120f58832289d1fa029..4b7e21e03c76d6d4367253fc8f3ebdee2116ef67 100644 (file)
@@ -34,7 +34,6 @@
 #include <haproxy/ssl_sock-t.h>
 #include <haproxy/stconn.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 #include <haproxy/xprt_qmux.h>
 #include <haproxy/xref.h>
index dc043ceaea43b0761fe7dd38c217491355fdae8a..1add02b8e19b0b6f397180e8177a216c28d49f65 100644 (file)
@@ -42,7 +42,6 @@
 #include <haproxy/stconn.h>
 #include <haproxy/stream.h>
 #include <haproxy/systemd.h>
-#include <haproxy/tools.h>
 #include <haproxy/version.h>
 
 
index ff6e4d54a2de2e2a8d7ac66a3b5b49af7b95a501..8322a71b153d4fa71a86d77e3f9d5d4a3aa4a8af 100644 (file)
@@ -28,7 +28,6 @@
 #include <haproxy/pattern.h>
 #include <haproxy/regex.h>
 #include <haproxy/sample.h>
-#include <haproxy/tools.h>
 #include <haproxy/xxhash.h>
 
 
index be722563ce4e588feb76794faddf1ab80bb3d21c..ce87f76ff9ccc275a90b6959cf7db3565a6bcc51 100644 (file)
@@ -25,7 +25,6 @@
 #include <haproxy/payload.h>
 #include <haproxy/sample.h>
 #include <haproxy/stconn.h>
-#include <haproxy/tools.h>
 
 
 /************************************************************************/
index bfff08468b6546ca3c853f1d50d02501ce4f653b..d242582e84607c282a1252aeb76249437f4b7b0f 100644 (file)
@@ -45,7 +45,6 @@
 #include <haproxy/task.h>
 #include <haproxy/thread.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 
 /***********************************/
index 4a312397978e5ad37ba58d0ebaa3cad9f5e2f272..c7e4a033538f49d4fa0e6d48b8d3d8701e0a166f 100644 (file)
@@ -30,7 +30,6 @@
 #include <haproxy/stconn.h>
 #include <haproxy/sym.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 
 
 /* These ones are initialized per-thread on startup by init_pools() */
index 3c5652dbd7beb57c8ab9a9353937ccdf2ce441c6..f5c88849c047b080cf19de652e8243dd7c80ef51 100644 (file)
@@ -48,7 +48,6 @@
 #include <haproxy/sock_inet.h>
 #include <haproxy/task.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 
 /* per-thread quic datagram handlers */
 struct quic_dghdlr *quic_dghdlrs;
index fb10fe2bf14f8d173b6fa6c3662fcaabfc34ff38..76bd58cabb8c5ebb84b802e012395068bd07ae8f 100644 (file)
@@ -37,7 +37,6 @@
 #include <haproxy/protocol.h>
 #include <haproxy/proto_sockpair.h>
 #include <haproxy/sock.h>
-#include <haproxy/tools.h>
 #include <haproxy/version.h>
 
 
index ec1fe165c7f2ea98de7cbc7f6123dd46d5f180b2..5396ff882512d5c672384e73ed63b10d08d6db83 100644 (file)
@@ -45,7 +45,6 @@
 #include <haproxy/proxy-t.h>
 #include <haproxy/sock.h>
 #include <haproxy/sock_inet.h>
-#include <haproxy/tools.h>
 
 
 static int tcp_bind_listener(struct listener *listener, char *errmsg, int errlen);
index 764124116dcb79512a80de8c6fcf914779be32b5..bad672e1bcc282a516bda7b8b51ca4258a8f0b02 100644 (file)
@@ -38,7 +38,6 @@
 #include <haproxy/sock.h>
 #include <haproxy/sock_inet.h>
 #include <haproxy/task.h>
-#include <haproxy/tools.h>
 
 static int udp_bind_listener(struct listener *listener, char *errmsg, int errlen);
 static void udp_enable_listener(struct listener *listener);
index b0a538340d857cc9a00525e1c8a268aabbb36efd..a6cc0b6ffdfb5c33a0e995fbe4455a8395ec1cc2 100644 (file)
@@ -29,7 +29,6 @@
 #include <haproxy/protocol.h>
 #include <haproxy/sock.h>
 #include <haproxy/sock_unix.h>
-#include <haproxy/tools.h>
 
 static int uxdg_bind_listener(struct listener *listener, char *errmsg, int errlen);
 static void uxdg_enable_listener(struct listener *listener);
index d90ae4494199547760c44a2db1ac1207016b23ab..3ce9a688b96ef68ad3774ba318b55898d643674b 100644 (file)
@@ -35,7 +35,6 @@
 #include <haproxy/proto_uxst.h>
 #include <haproxy/sock.h>
 #include <haproxy/sock_unix.h>
-#include <haproxy/tools.h>
 #include <haproxy/version.h>
 
 
index 4dee13fd3acc4479c8880dbe51e92529dd987ac5..f4653dd6461e179ce942549f064ce2e06e70008d 100644 (file)
@@ -25,7 +25,6 @@
 #include <haproxy/proxy.h>
 #include <haproxy/quic_tune.h>
 #include <haproxy/sock.h>
-#include <haproxy/tools.h>
 #include <haproxy/twork.h>
 
 
index 69f5c82c0ab909b5f42fad6142aefc02abb491c2..82e61717561b97802daf4f1b3cb51996b0787982 100644 (file)
@@ -68,7 +68,6 @@
 #include <haproxy/tcpcheck.h>
 #include <haproxy/thread.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/uri_auth.h>
 
 /* Lock to ensure multiple backends deletion concurrently is safe */
index 4be5c9c602de4df609e22ae86762c5d19f48677a..cc29f19baf31ed7049cbb0516bb141e2e8e7a68e 100644 (file)
@@ -34,7 +34,6 @@
 #include <haproxy/hpack-huff.h>
 #include <haproxy/hpack-tbl.h>
 #include <haproxy/http-hdr.h>
-#include <haproxy/tools.h>
 
 #if defined(DEBUG_QPACK)
 #define qpack_debug_printf fprintf
index acd7f6489ce72c807fab4e1410c4e9d9f474eb86..c245ba7303e3036fbb267985af76b5967eb64246 100644 (file)
@@ -83,7 +83,6 @@
 #include <haproxy/tcp_rules.h>
 #include <haproxy/thread.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 
 
 #define NOW_OFFSET_BOUNDARY()          ((now_ms - (TIMER_LOOK_BACK >> 12)) & 0xfffff)
index 7988cbbdab91e3835e9939cf0a4012b8176346b9..9a515e0365f4359efd0d9b3ed683c9c4b5f0e86a 100644 (file)
@@ -7,7 +7,6 @@
 #include <haproxy/quic_conn.h>
 #include <haproxy/quic_tp.h>
 #include <haproxy/quic_utils.h>
-#include <haproxy/tools.h>
 
 /* incremented by each "show quic". */
 unsigned int qc_epoch = 0;
index eb0ee3bac2e77fb132393ee07b703510c3dcd4b4..1b3027415bca61237f4b46012d563d9be2e6f4fe 100644 (file)
@@ -30,7 +30,6 @@
 #include <haproxy/compat.h>
 #include <haproxy/api.h>
 #include <haproxy/debug.h>
-#include <haproxy/tools.h>
 #include <haproxy/ticks.h>
 
 #include <haproxy/connection.h>
index 62c0150c70ff36a3d4bf1a655fb9804dd4c67d57..2f40c37f142c2253fe05e04bb4885bd30f19d4f8 100644 (file)
@@ -45,7 +45,6 @@
 #include <haproxy/session.h>
 #include <haproxy/task.h>
 #include <haproxy/trace.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 
 /* Log only first EACCES bind() error runtime occurrence. */
index 8a8eced13919defba4e8e6df9666a3ca9a9a211e..bea4803bdd5fbcbf56ba62971deee816425e47d3 100644 (file)
@@ -1,4 +1,3 @@
-#include <haproxy/tools.h>
 #include <haproxy/net_helper.h>
 #include <haproxy/quic_tls.h>
 #include <haproxy/quic_token.h>
index 33fb8f5c348bad7ea39d1ffdb032736080c0ef05..08c13ec5486c1ce7c9521a27ab9a291bbfcad701 100644 (file)
@@ -29,7 +29,6 @@
 #include <haproxy/global.h>
 #include <haproxy/pipe.h>
 #include <haproxy/proxy.h>
-#include <haproxy/tools.h>
 
 
 #if defined(USE_LINUX_SPLICE)
index 24f59a5144b1c230ce0077ebe836cf9e62e1b63e..83f1f17e27c5edfc9ea686923133f3f7533aedcb 100644 (file)
@@ -49,7 +49,6 @@
 #include <haproxy/tcp_rules.h>
 #include <haproxy/ticks.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/vars.h>
 #include <haproxy/xxhash.h>
 
index a47066d99f1862e4d1ad689d81f85a276542b7dc..7507ad5572f68c92781a8b28aa69a5f6d7214f36 100644 (file)
@@ -46,7 +46,6 @@
 #include <haproxy/sink.h>
 #include <haproxy/stick_table.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/uri_auth-t.h>
 #include <haproxy/vars.h>
 #include <haproxy/xxhash.h>
index 86efa9c1f4392e7a4e1333045fa8d9e27aa71c51..b9d7d967ad68a977b7ac6e4ef3218930bb1f25f4 100644 (file)
@@ -57,7 +57,6 @@
 #include <haproxy/task.h>
 #include <haproxy/tcpcheck.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/xxhash.h>
 
 static void srv_update_status(struct server *s, int type, int cause);
index def8de56d67bbb0f2dca47b0b0d180c23bb8ae71..540926ad4c2d6a306245fd9286001c0ab455e3c4 100644 (file)
@@ -26,7 +26,6 @@
 #include <haproxy/proxy.h>
 #include <haproxy/resolvers.h>
 #include <haproxy/server.h>
-#include <haproxy/tools.h>
 #include <haproxy/xxhash.h>
 
 
index fd8997de12e3db7b82f0b509a0ef85e8d58c9a48..9d886fc45e4c9fae19393a060ec1c18c29cfe225 100644 (file)
@@ -24,7 +24,6 @@
 #include <haproxy/session.h>
 #include <haproxy/tcp_rules.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 #include <haproxy/vars.h>
 
index 46c5f810dcb218d15a1b31bae9ca2c25cea878a8..f43b1dced67c934662ccdc58a8c1429ed12d266e 100644 (file)
@@ -37,7 +37,6 @@
 #include <haproxy/sink.h>
 #include <haproxy/stconn.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 
 struct list sink_list = LIST_HEAD_INIT(sink_list);
 
index 071a6fe30e167d51ba72b9ee474de5a95b91a016..965451cf2b4e094c25549913e90b248de994e321 100644 (file)
@@ -34,7 +34,6 @@
 #include <haproxy/proto_sockpair.h>
 #include <haproxy/sock.h>
 #include <haproxy/sock_inet.h>
-#include <haproxy/tools.h>
 
 #define SOCK_XFER_OPT_FOREIGN 0x000000001
 #define SOCK_XFER_OPT_V6ONLY  0x000000002
index bf73c6263690e9b46a0b0f0a64307f1a2056e28e..2e41acd16156969ca26ded90b705ca6c8e12d0a9 100644 (file)
@@ -41,7 +41,6 @@
 #include <haproxy/ssl_ocsp.h>
 #include <haproxy/ssl_utils.h>
 #include <haproxy/stconn.h>
-#include <haproxy/tools.h>
 #include <haproxy/jwt.h>
 
 /* Uncommitted CKCH transaction */
index 7f7ef65d11cb3a450d4ec264e1e2e0a3f2cd8808..494b5ea23e3312b5a96e5eb7ffd30c1f8d870c5e 100644 (file)
@@ -30,7 +30,6 @@
 #include <haproxy/ssl_ocsp.h>
 #include <haproxy/ssl_sock.h>
 #include <haproxy/stconn.h>
-#include <haproxy/tools.h>
 
 /* CLI context for "show ssl crt-list" or "dump ssl crt-list" */
 struct show_crtlist_ctx {
index 65db0f07755e5d93cab62dac6075b684848bc598..27a872beccbb9c33f52c22ea030cba2e1aa07868 100644 (file)
@@ -15,7 +15,6 @@
 #include <haproxy/quic_ssl.h>
 #include <haproxy/ssl_ckch.h>
 #include <haproxy/ssl_sock.h>
-#include <haproxy/tools.h>
 #include <haproxy/xxhash.h>
 
 #if (defined SSL_CTRL_SET_TLSEXT_HOSTNAME && !defined SSL_NO_GENERATE_CERTIFICATES)
index d16b37c34d2120818b3e96db4b14783361831eae..cd14ffef6376db7ad4d0074524a838f165f40f78 100644 (file)
@@ -63,7 +63,6 @@
 #include <haproxy/task.h>
 #include <haproxy/ticks.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 #include <haproxy/ssl_trace.h>
 #include <haproxy/vars.h>
index 67552bfe83d56b9fdac406e9d0a5ba12281b4ff9..6cae7d8f648e1c2162b860574eab5d72890673a3 100644 (file)
@@ -31,7 +31,6 @@
 #include <haproxy/ssl_sock.h>
 #include <haproxy/ssl_utils.h>
 #include <haproxy/stconn.h>
-#include <haproxy/tools.h>
 #include <haproxy/vars.h>
 #ifdef USE_ECH
 #include <haproxy/ech.h>
index 1c77c5822d296bd204fb1c8347abe258d49d9e1f..048d61c884bf913aa8019aaf1e1dc9649d0c3f5d 100644 (file)
@@ -86,7 +86,6 @@
 #include <haproxy/task.h>
 #include <haproxy/ticks.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/vars.h>
 #include <haproxy/xxhash.h>
 #include <haproxy/istbuf.h>
index dc27e0206f39541d6e7715a3ffbffe2836650d8a..3cfacd897d4fcbc38d709b3fc40e6ae08aa4e8eb 100644 (file)
@@ -18,7 +18,6 @@
 #include <haproxy/chunk.h>
 #include <haproxy/openssl-compat.h>
 #include <haproxy/sample.h>
-#include <haproxy/tools.h>
 #include <haproxy/ssl_sock.h>
 #include <haproxy/ssl_utils.h>
 
index 2a98e1d35eb3667982c96f1e2a05e0cd65973329..bc618866c9ee2e97b3f62aa1c6054324a38040b4 100644 (file)
@@ -27,7 +27,6 @@
 #include <haproxy/thread.h>
 #include <haproxy/time.h>
 #include <haproxy/tinfo.h>
-#include <haproxy/tools.h>
 #include <haproxy/uri_auth-t.h>
 #include <haproxy/version.h>
 
index 862c7931975f3c4f456abcdd675ec056dbe35a1f..391805cc3a899e09e5789d72be9800b7bd62c776 100644 (file)
@@ -18,7 +18,6 @@
 #include <haproxy/server.h>
 #include <haproxy/stconn.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 
 /* Common helper to create a new generic metric */
 #define ME_NEW_COMMON(name_f, alt_n, nature, format, offset_f, cap_f, desc_f) \
index 6ad82371c33602e81355a75f4cf191a9739e2db3..b669e4167ff62a6edfc30fcbbf5942838db2ac64 100644 (file)
@@ -64,7 +64,6 @@
 #include <haproxy/task.h>
 #include <haproxy/ticks.h>
 #include <haproxy/time.h>
-#include <haproxy/tools.h>
 #include <haproxy/uri_auth-t.h>
 #include <haproxy/version.h>
 
index 6489fbbdc03ce55f4bb83cead351f1f9329e8a1b..592d7d0536342e4cc94f0dee0f7f8aee57416a1b 100644 (file)
@@ -42,7 +42,6 @@
 #include <haproxy/task.h>
 #include <haproxy/tcp_rules.h>
 #include <haproxy/ticks.h>
-#include <haproxy/tools.h>
 #include <haproxy/xxhash.h>
 
 #if defined(USE_PROMEX)
index d7e7137ef304e4f2990d28919a8025f6bbf7145a..9ecaf958bb594174b10366079c2891f836fbb272 100644 (file)
@@ -57,7 +57,6 @@
 #include <haproxy/task.h>
 #include <haproxy/tcp_rules.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 #include <haproxy/twork.h>
 #include <haproxy/vars.h>
index 412c82caf5a84560b063032d86baff98fcd992ec..8cbc11a5e2b5887773db23868aa7209831d13a41 100644 (file)
--- a/src/sym.c
+++ b/src/sym.c
@@ -85,7 +85,6 @@ extern void *__elf_aux_vector;
 #include <haproxy/sym.h>
 #include <haproxy/task.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 
 /* set to true if this is a static build */
 int build_is_static = 0;
index b58117ae46ea3e2ac3d24ce17ec5d60a0dc4e5e4..797241abfc10939599bf68e528f7ceab0294778f 100644 (file)
@@ -22,9 +22,9 @@
 #include <time.h>
 #include <unistd.h>
 #include <stdarg.h>
-
 #include <haproxy/tools.h>
 
+
 /*
  *  standalone reimplementation of sd_notify from the libsystemd
  *  Return:
index b249d369908697e0be15bf63d1ed8b0d6cb00d46..ebb9d2910001bc28b16ba52066f4eb9978902deb 100644 (file)
@@ -39,7 +39,6 @@
 #include <haproxy/server.h>
 #include <haproxy/session.h>
 #include <haproxy/tcp_rules.h>
-#include <haproxy/tools.h>
 
 static enum act_return tcp_action_attach_srv(struct act_rule *rule, struct proxy *px,
                                              struct session *sess, struct stream *s, int flags)
index 620763ece6238df5e3f25907ec5c4f0bfd197692..3ba85fdc9de2ba8a80c61e6a73002a27667510bb 100644 (file)
@@ -28,7 +28,6 @@
 #include <haproxy/stream-t.h>
 #include <haproxy/tcp_rules.h>
 #include <haproxy/ticks.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 
 
index 64725ef88604322a627677617a57471ec1679aa3..f65e0a8c11dc6a3ce5a7fdb74e362d05e1d12e1d 100644 (file)
@@ -35,7 +35,6 @@
 #include <haproxy/sample.h>
 #include <haproxy/sc_strm.h>
 #include <haproxy/session.h>
-#include <haproxy/tools.h>
 
 /* Fetch the connection's source IPv4/IPv6 address. Depending on the keyword, it
  * may be the frontend or the backend connection.
index 3131407dff3a23c68141c304d19545826d1ffc62..80fd4ad6846213f53cebbd652c285e2886147428 100644 (file)
@@ -62,7 +62,6 @@
 #include <haproxy/task.h>
 #include <haproxy/tcpcheck.h>
 #include <haproxy/ticks.h>
-#include <haproxy/tools.h>
 #include <haproxy/trace.h>
 #include <haproxy/vars.h>
 
index 4bfd452e0d1a2ed3fcd961e1a1d66119dafd2e4a..107b20010db348164cefb7bfa8a92b14d38aeed3 100644 (file)
@@ -44,7 +44,6 @@
 #include <haproxy/global.h>
 #include <haproxy/log.h>
 #include <haproxy/thread.h>
-#include <haproxy/tools.h>
 
 struct tgroup_info ha_tgroup_info[MAX_TGROUPS] = { };
 THREAD_LOCAL const struct tgroup_info *tg = &ha_tgroup_info[0];
index e21072b696e7725db88968f73c6160e9cb234021..0b4d506af3bae0b8139ab2f35ca520dbedd1381c 100644 (file)
@@ -18,7 +18,6 @@
 #include <haproxy/stream-t.h>
 #include <haproxy/tcp_rules.h>
 #include <haproxy/tcpcheck.h>
-#include <haproxy/tools.h>
 #include <haproxy/vars.h>
 #include <haproxy/xxhash.h>