mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-16 05:02:01 +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
@@ -537,7 +537,7 @@ struct mem_stats {
|
||||
size_t size;
|
||||
struct ha_caller caller;
|
||||
const void *extra; // extra info specific to this call (e.g. pool ptr)
|
||||
} __attribute__((aligned(sizeof(void*))));
|
||||
} ALIGNED(sizeof(void*));
|
||||
|
||||
#undef calloc
|
||||
#define calloc(x,y) ({ \
|
||||
|
||||
Reference in New Issue
Block a user