From: Willy Tarreau Date: Sun, 18 Jul 2010 05:38:17 +0000 (+0200) Subject: [CLEANUP] stick-table: declare stktable_data_types as extern X-Git-Tag: v1.5-dev8~507 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=795e4a93dd4c4616928bd48e7f6232433399f0df;p=thirdparty%2Fhaproxy.git [CLEANUP] stick-table: declare stktable_data_types as extern It's fortunate we did not get hit by this stupid declaration ! --- 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 {