BUILD: fix recent build failure on unaligned archs
Last commit 2c315ee ("BUG/MEDIUM: ebtree: don't set attribute packed
without unaligned access support") accidently enclosed the semicolon
in the ifdef so it will fail when HA_UNALIGNED is not set.
(cherry picked from commit d43183d05f26e29fb0e75cf2b5f8a4ef47f8891d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 29da20702eb24a3e9dad998c4a62a82318197eae)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/ebtree/ebtree.h b/ebtree/ebtree.h
index 0ba42f1..6ac79d6 100644
--- a/ebtree/ebtree.h
+++ b/ebtree/ebtree.h
@@ -381,8 +381,9 @@
short unsigned int pfx; /* data prefix length, always related to leaf */
}
#ifdef HA_UNALIGNED
- __attribute__((packed));
+ __attribute__((packed))
#endif
+ ;
/* Return the structure of type <type> whose member <member> points to <ptr> */
#define eb_entry(ptr, type, member) container_of(ptr, type, member)