From 9e4982f5c96b7bfcaa537ed2a0d318b5b9d1eba9 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 8 Sep 2013 20:20:18 +0200 Subject: [PATCH] include: remove UV_IO_PRIVATE_FIELDS macro It's an alias for UV_IO_PRIVATE_PLATFORM_FIELDS. Remove the macro and use UV_IO_PRIVATE_PLATFORM_FIELDS directly. --- include/uv-unix.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/uv-unix.h b/include/uv-unix.h index 38c18537..d8b96a0a 100644 --- a/include/uv-unix.h +++ b/include/uv-unix.h @@ -59,9 +59,6 @@ # define UV_IO_PRIVATE_PLATFORM_FIELDS /* empty */ #endif -#define UV_IO_PRIVATE_FIELDS \ - UV_IO_PRIVATE_PLATFORM_FIELDS \ - struct uv__io_s; struct uv__async; struct uv_loop_s; @@ -78,7 +75,7 @@ struct uv__io_s { unsigned int pevents; /* Pending event mask i.e. mask at next tick. */ unsigned int events; /* Current event mask. */ int fd; - UV_IO_PRIVATE_FIELDS + UV_IO_PRIVATE_PLATFORM_FIELDS }; typedef void (*uv__async_cb)(struct uv_loop_s* loop,