]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: remove some unneeded includes from applet-t.h
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 06:54:05 +0000 (08:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
This file includes streams, proxies, Lua just for some definitions of
structures for which we only have a pointer. Let's drop this. That's
responsible for 0.2% of all the lines of code.

include/haproxy/applet-t.h

index 222ad6d63b61065c44044943d0b686f484b3b96d..faa399ed5de609e30dfebabed9fc52be3ecb9bc9 100644 (file)
 #include <haproxy/buf-t.h>
 #include <haproxy/dynbuf-t.h>
 #include <haproxy/freq_ctr-t.h>
-#include <haproxy/hlua-t.h>
 #include <haproxy/obj_type-t.h>
-#include <haproxy/proxy-t.h>
-#include <haproxy/stream-t.h>
 #include <haproxy/xref-t.h>
 
 /* flags for appctx->state */
 #define APPLET_WANT_DIE     0x01  /* applet was running and requested to die */
 
 struct appctx;
+struct stream;
+struct proxy;
 
 /* Applet descriptor */
 struct applet {