From b2caee7cfb495d4ea7239dc23699ba19b51454cc Mon Sep 17 00:00:00 2001 From: Andrius Bentkus Date: Sat, 6 Oct 2012 01:39:46 +0300 Subject: [PATCH] uv.h: move private uv_req_t fields to the bottom of the struct --- include/uv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uv.h b/include/uv.h index cebee681..f040f50d 100644 --- a/include/uv.h +++ b/include/uv.h @@ -352,11 +352,11 @@ UV_EXTERN const char* uv_err_name(uv_err_t err); #define UV_REQ_FIELDS \ /* public */ \ void* data; \ + /* read-only */ \ + uv_req_type type; \ /* private */ \ ngx_queue_t active_queue; \ UV_REQ_PRIVATE_FIELDS \ - /* read-only */ \ - uv_req_type type; \ /* Abstract base class of all requests. */ struct uv_req_s {