From 9c6a80231f14bec411272a7b8ad4ae79b6364bae Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 15 Jun 2021 11:39:57 +0200 Subject: [PATCH] CLEANUP: global: remove unused definition of stopping_task[] This is a leftover of a previous attempt that was introduced in 2.4 by commit d3a88c1c3 ("MEDIUM: connection: close front idling connection on soft-stop"). It can be backported, as the variable doesn't exist. --- include/haproxy/global.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/haproxy/global.h b/include/haproxy/global.h index a095a52..5159636 100644 --- a/include/haproxy/global.h +++ b/include/haproxy/global.h @@ -55,8 +55,6 @@ extern int atexit_flag; extern unsigned char boot_seed[20]; // per-boot random seed (160 bits initially) extern THREAD_LOCAL struct buffer trash; -extern struct task *stopping_task[MAX_PROCS]; - struct proxy; struct server; int main(int argc, char **argv); -- 1.7.10.4