mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-15 15:02:02 +02:00
CLEANUP: use the automatic alignment feature
- Use the automatic alignment feature instead of hardcoding 64 all over the code. - This also converts a few bare __attribute__((aligned(X))) to using the ALIGNED macro.
This commit is contained in:
committed by
Olivier Houchard
parent
74719dc457
commit
bc8e14ec23
@@ -676,7 +676,7 @@ struct hlua_mem_allocator {
|
||||
size_t limit;
|
||||
};
|
||||
|
||||
static struct hlua_mem_allocator hlua_global_allocator THREAD_ALIGNED(64);
|
||||
static struct hlua_mem_allocator hlua_global_allocator THREAD_ALIGNED();
|
||||
|
||||
/* hlua event subscription */
|
||||
struct hlua_event_sub {
|
||||
|
||||
Reference in New Issue
Block a user