diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h index e5d45590aec496ae4700b41860bb880c5585ea6a..4373e885774d21702f2eefdaf0a0d315d907bab1 100644 --- a/include/grpc/support/port_platform.h +++ b/include/grpc/support/port_platform.h @@ -47,10 +47,12 @@ #endif /* NOMINMAX */ #ifndef _WIN32_WINNT -#error "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)" +#error \ + "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)" #else /* !defined(_WIN32_WINNT) */ #if (_WIN32_WINNT < 0x0600) -#error "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)" +#error \ + "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)" #endif /* _WIN32_WINNT < 0x0600 */ #endif /* defined(_WIN32_WINNT) */ diff --git a/src/core/iomgr/udp_server.h b/src/core/iomgr/udp_server.h index b6cf3c8ed9d37e98f83fea7668488a727c459fbe..8e3abae864ba2cfe16251bee3e968946b354db19 100644 --- a/src/core/iomgr/udp_server.h +++ b/src/core/iomgr/udp_server.h @@ -43,7 +43,7 @@ typedef struct grpc_server grpc_server; typedef struct grpc_udp_server grpc_udp_server; /* Called when data is available to read from the socket. */ -typedef void (*grpc_udp_server_read_cb)(int fd, grpc_server* server); +typedef void (*grpc_udp_server_read_cb)(int fd, grpc_server *server); /* Create a server, initially not bound to any ports */ grpc_udp_server *grpc_udp_server_create(void); diff --git a/src/core/support/block_annotate.h b/src/core/support/block_annotate.h index bf2c17f8595db1894abfc0f8d46b1f63a29cd968..3cd8eee272d3f3556afa9b86b49c26634b592517 100644 --- a/src/core/support/block_annotate.h +++ b/src/core/support/block_annotate.h @@ -38,7 +38,11 @@ the code may block for reasons other than synchronization functions. These include poll, epoll, and getaddrinfo. */ -#define GRPC_SCHEDULING_START_BLOCKING_REGION do {} while (0) -#define GRPC_SCHEDULING_END_BLOCKING_REGION do {} while (0) +#define GRPC_SCHEDULING_START_BLOCKING_REGION \ + do { \ + } while (0) +#define GRPC_SCHEDULING_END_BLOCKING_REGION \ + do { \ + } while (0) #endif /* GRPC_INTERNAL_CORE_SUPPORT_BLOCK_ANNOTATE_H */