From 61008a7c0b45fe55f3f611c61f81e569e6baee30 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Fri, 7 Jul 2017 16:01:34 +0300 Subject: Cosmetic changes to remove some annoying valgrind messages. --- src/nxt_port.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_port.h') 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; /* -- cgit