]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: pool: only include pool-os from pool.c not pool.h
authorWilly Tarreau <w@1wt.eu>
Thu, 8 Dec 2022 16:26:50 +0000 (17:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Dec 2022 16:32:40 +0000 (17:32 +0100)
There's no need for the low-level pool functions to be known from all
callers anymore, they're only used by pool.c. Let's reduce the amount
of header files processed.

include/haproxy/pool.h
src/pool.c

index 017719d19f7229b754b03a4599272b81f222ad1e..1275146616485112e22d6a12575b836b57544f24 100644 (file)
@@ -27,7 +27,6 @@
 #include <haproxy/api.h>
 #include <haproxy/freq_ctr.h>
 #include <haproxy/list.h>
-#include <haproxy/pool-os.h>
 #include <haproxy/pool-t.h>
 #include <haproxy/thread.h>
 
index 48e51e665dc74fefdbb71b934eccd6a90886b38f..ddea4c06b613ac4127dfb6e5cc08fdf20a6d6c42 100644 (file)
@@ -23,6 +23,7 @@
 #include <haproxy/global.h>
 #include <haproxy/list.h>
 #include <haproxy/pool.h>
+#include <haproxy/pool-os.h>
 #include <haproxy/sc_strm.h>
 #include <haproxy/stats-t.h>
 #include <haproxy/stconn.h>