From: Willy Tarreau Date: Wed, 6 Oct 2021 06:54:05 +0000 (+0200) Subject: CLEANUP: remove some unneeded includes from applet-t.h X-Git-Tag: v2.5-dev9~82 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd1c17ff4634b97af19420f21580dc015359ab1a;p=thirdparty%2Fhaproxy.git CLEANUP: remove some unneeded includes from applet-t.h 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. --- diff --git a/include/haproxy/applet-t.h b/include/haproxy/applet-t.h index 222ad6d63b..faa399ed5d 100644 --- a/include/haproxy/applet-t.h +++ b/include/haproxy/applet-t.h @@ -26,16 +26,15 @@ #include #include #include -#include #include -#include -#include #include /* 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 {