From 795e4a93dd4c4616928bd48e7f6232433399f0df Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 18 Jul 2010 07:38:17 +0200 Subject: [PATCH] [CLEANUP] stick-table: declare stktable_data_types as extern It's fortunate we did not get hit by this stupid declaration ! --- include/types/stick_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/types/stick_table.h b/include/types/stick_table.h index 45eac020aa..a5f47e3edd 100644 --- a/include/types/stick_table.h +++ b/include/types/stick_table.h @@ -138,7 +138,7 @@ struct stktable { } data_arg[STKTABLE_DATA_TYPES]; /* optional argument of each data type */ }; -struct stktable_data_type stktable_data_types[STKTABLE_DATA_TYPES]; +extern struct stktable_data_type stktable_data_types[STKTABLE_DATA_TYPES]; /* stick table key data */ union stktable_key_data { -- 2.47.3