From fd1c17ff4634b97af19420f21580dc015359ab1a Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 6 Oct 2021 08:54:05 +0200 Subject: [PATCH] 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. --- include/haproxy/applet-t.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/haproxy/applet-t.h b/include/haproxy/applet-t.h index 222ad6d63..faa399ed5 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 {