Imported Upstream version 1.34.0
[platform/upstream/grpc.git] / test / core / end2end / tests / cancel_test_helpers.h
index 477d199..1e75b2b 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef GRPC_TEST_CORE_END2END_TESTS_CANCEL_TEST_HELPERS_H
 #define GRPC_TEST_CORE_END2END_TESTS_CANCEL_TEST_HELPERS_H
 
+#include <grpc/grpc.h>
+
 typedef struct {
   const char* name;
   grpc_call_error (*initiate_cancel)(grpc_call* call, void* reserved);
@@ -26,7 +28,7 @@ typedef struct {
   const char* expect_details;
 } cancellation_mode;
 
-static grpc_call_error wait_for_deadline(grpc_call* call, void* reserved) {
+static grpc_call_error wait_for_deadline(grpc_call* /*call*/, void* reserved) {
   (void)reserved;
   return GRPC_CALL_OK;
 }