summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.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_port.h
parent264ae98d49c15e068e5ace88578856bbeb901b82 (diff)
downloadunit-61008a7c0b45fe55f3f611c61f81e569e6baee30.tar.gz
unit-61008a7c0b45fe55f3f611c61f81e569e6baee30.tar.bz2
Cosmetic changes to remove some annoying valgrind messages.
Diffstat (limited to 'src/nxt_port.h')
-rw-r--r--src/nxt_port.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_port.h b/src/nxt_port.h
index 927e0e2e..109071aa 100644
--- a/src/nxt_port.h
+++ b/src/nxt_port.h
@@ -30,7 +30,7 @@ typedef struct {
/* Message data send using mmap, next chunk is a nxt_port_mmap_msg_t. */
uint8_t mmap; /* 1 bit */
-} nxt_port_msg_t;
+} NXT_PACKED nxt_port_msg_t;
typedef struct {
@@ -91,7 +91,7 @@ typedef struct {
size_t max_size;
size_t max_share;
nxt_process_type_t type:8;
-} nxt_port_msg_new_port_t;
+} NXT_PACKED nxt_port_msg_new_port_t;
/*