From: Willy Tarreau Date: Sat, 8 May 2021 18:10:13 +0000 (+0200) Subject: MINOR: task: stop including stream.h from task.c X-Git-Tag: v2.4-dev19~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e08f4bf27f649082e708587740e885204779e105;p=thirdparty%2Fhaproxy.git MINOR: task: stop including stream.h from task.c This one comes with a very deep dependency hell, only to know that process_stream() is a function. Dropping it reduces the preprocessed output from 1.5MB to 640kB. --- diff --git a/src/task.c b/src/task.c index 283d507bb9..c3145b04d9 100644 --- a/src/task.c +++ b/src/task.c @@ -20,10 +20,10 @@ #include #include #include -#include #include #include +extern struct task *process_stream(struct task *t, void *context, unsigned int state); DECLARE_POOL(pool_head_task, "task", sizeof(struct task)); DECLARE_POOL(pool_head_tasklet, "tasklet", sizeof(struct tasklet));