diff options
author | Mark D. Roth <roth@google.com> | 2016-09-09 08:46:28 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-09-09 08:46:28 -0700 |
commit | b3405f0a7370857373d71bb6a62e056f37493529 (patch) | |
tree | a7b48e88c5409886c099a7e43b147ee2fc85569d /src/core | |
parent | 932b10c75bb4674650a6862d2f155f3548ebfede (diff) |
Fix build problem on Windows.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lib/channel/deadline_filter.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/lib/channel/deadline_filter.c b/src/core/lib/channel/deadline_filter.c index d83a231cac..010fedd7b7 100644 --- a/src/core/lib/channel/deadline_filter.c +++ b/src/core/lib/channel/deadline_filter.c @@ -145,10 +145,6 @@ void grpc_deadline_state_client_start_transport_stream_op( // filter code // -// Used for both client and server filters. -typedef struct channel_data { -} channel_data; - // Constructor for channel_data. Used for both client and server filters. static void init_channel_elem(grpc_exec_ctx* exec_ctx, grpc_channel_element* elem, @@ -256,7 +252,7 @@ const grpc_channel_filter grpc_client_deadline_filter = { init_call_elem, grpc_call_stack_ignore_set_pollset_or_pollset_set, destroy_call_elem, - sizeof(channel_data), + 0, // sizeof(channel_data) init_channel_elem, destroy_channel_elem, grpc_call_next_get_peer, @@ -270,7 +266,7 @@ const grpc_channel_filter grpc_server_deadline_filter = { init_call_elem, grpc_call_stack_ignore_set_pollset_or_pollset_set, destroy_call_elem, - sizeof(channel_data), + 0, // sizeof(channel_data) init_channel_elem, destroy_channel_elem, grpc_call_next_get_peer, |