From e08f4bf27f649082e708587740e885204779e105 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 8 May 2021 20:10:13 +0200 Subject: [PATCH] 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. --- src/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task.c b/src/task.c index 283d507bb..c3145b04d 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));