projects
/
haproxy-2.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ee397
)
[CLEANUP] stick-table: declare stktable_data_types as extern
author
Willy Tarreau
<w@1wt.eu>
Sun, 18 Jul 2010 05:38:17 +0000
(07:38 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 10 Aug 2010 16:04:14 +0000
(18:04 +0200)
It's fortunate we did not get hit by this stupid declaration !
include/types/stick_table.h
patch
|
blob
|
history
diff --git
a/include/types/stick_table.h
b/include/types/stick_table.h
index
45eac02
..
a5f47e3
100644
(file)
--- 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 {