summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_clang.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-07 16:01:34 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-07 16:01:34 +0300
commit61008a7c0b45fe55f3f611c61f81e569e6baee30 (patch)
tree4625f1c9ee946a0222f16dfe0ad7a298b3d91812 /src/nxt_clang.h
parent264ae98d49c15e068e5ace88578856bbeb901b82 (diff)
downloadunit-61008a7c0b45fe55f3f611c61f81e569e6baee30.tar.gz
unit-61008a7c0b45fe55f3f611c61f81e569e6baee30.tar.bz2
Cosmetic changes to remove some annoying valgrind messages.
Diffstat (limited to '')
-rw-r--r--src/nxt_clang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_clang.h b/src/nxt_clang.h
index b69dd6af..65bd7940 100644
--- a/src/nxt_clang.h
+++ b/src/nxt_clang.h
@@ -230,4 +230,6 @@ nxt_trunc_ptr(p, a) \
(u_char *) ((uintptr_t) (p) & ~((uintptr_t) (a) - 1))
+#define NXT_PACKED __attribute__((packed))
+
#endif /* _NXT_CLANG_H_INCLUDED_ */