diff options
Diffstat (limited to 'src/nxt_buf.h')
-rw-r--r-- | src/nxt_buf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_buf.h b/src/nxt_buf.h index 7a894d0f..d9d4ee1b 100644 --- a/src/nxt_buf.h +++ b/src/nxt_buf.h @@ -101,8 +101,8 @@ struct nxt_buf_s { }; +#define NXT_BUF_SYNC_SIZE offsetof(nxt_buf_t, mem.free) #define NXT_BUF_MEM_SIZE offsetof(nxt_buf_t, file) -#define NXT_BUF_SYNC_SIZE NXT_BUF_MEM_SIZE #define NXT_BUF_FILE_SIZE sizeof(nxt_buf_t) #define NXT_BUF_MMAP_SIZE NXT_BUF_FILE_SIZE #define NXT_BUF_PORT_MMAP_SIZE NXT_BUF_MEM_SIZE |