summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-12 02:33:48 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-12 13:35:32 +0100
commit257224b0cdbb5ae1ac463a6a6645e033882b967e (patch)
tree5c388e213f15f71ee552e892cb7befc6377d1723 /src/shared/util.h
parentae6c3cc009a21df4b51851fb8fe3fde0b7d6d8f0 (diff)
util: document why we have alloca_align()
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index a15ce95a65..9a878ca1ac 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -883,6 +883,7 @@ int unlink_noerrno(const char *path);
(void *) memset(_new_, 0, _len_); \
})
+/* It's not clear what alignment glibc/gcc alloca() guarantee, hence provide a guaranteed safe version */
#define alloca_align(size, align) \
({ \
void *_ptr_; \