]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: chunk: properly declare pool_head_trash as extern
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Mar 2019 17:13:36 +0000 (18:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Mar 2019 20:03:20 +0000 (21:03 +0100)
This one was also declared without the extern modifier in an include
file.

This needs to be backported to 1.9.

include/common/chunk.h

index 734e444c50cd25f41d5c1a38a7b60d0c518adcce..a1a3eb779b6fcf9d5b06d247a8ffa924528ee0f3 100644 (file)
@@ -30,7 +30,7 @@
 #include <common/memory.h>
 
 
-struct pool_head *pool_head_trash;
+extern struct pool_head *pool_head_trash;
 
 /* function prototypes */