diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/iomgr/udp_server.h | 2 | ||||
-rw-r--r-- | src/core/support/block_annotate.h | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/core/iomgr/udp_server.h b/src/core/iomgr/udp_server.h index b6cf3c8ed9..8e3abae864 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 bf2c17f859..3cd8eee272 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 */ |