From 46f9175ba3a27958a1655707d6014de1ba3ce4d5 Mon Sep 17 00:00:00 2001 From: ncteisen Date: Fri, 17 Nov 2017 16:27:56 -0800 Subject: Fix windows build --- src/core/lib/compression/stream_compression.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/lib/compression/stream_compression.cc') diff --git a/src/core/lib/compression/stream_compression.cc b/src/core/lib/compression/stream_compression.cc index 1ccbe162b6..f989160d06 100644 --- a/src/core/lib/compression/stream_compression.cc +++ b/src/core/lib/compression/stream_compression.cc @@ -21,8 +21,7 @@ #include "src/core/lib/compression/stream_compression.h" #include "src/core/lib/compression/stream_compression_gzip.h" -extern "C" const grpc_stream_compression_vtable - grpc_stream_compression_identity_vtable; +const grpc_stream_compression_vtable grpc_stream_compression_identity_vtable; bool grpc_stream_compress(grpc_stream_compression_context* ctx, grpc_slice_buffer* in, grpc_slice_buffer* out, -- cgit v1.2.3 From abdc290d26a059aa814d32da4e09643db9eaf0d3 Mon Sep 17 00:00:00 2001 From: ncteisen Date: Mon, 20 Nov 2017 15:15:58 -0500 Subject: clang fmt --- src/core/lib/compression/stream_compression.cc | 3 ++- src/core/lib/debug/trace.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/lib/compression/stream_compression.cc') diff --git a/src/core/lib/compression/stream_compression.cc b/src/core/lib/compression/stream_compression.cc index fc39e0bc58..b4b3e524d0 100644 --- a/src/core/lib/compression/stream_compression.cc +++ b/src/core/lib/compression/stream_compression.cc @@ -21,7 +21,8 @@ #include "src/core/lib/compression/stream_compression.h" #include "src/core/lib/compression/stream_compression_gzip.h" -extern const grpc_stream_compression_vtable grpc_stream_compression_identity_vtable; +extern const grpc_stream_compression_vtable + grpc_stream_compression_identity_vtable; bool grpc_stream_compress(grpc_stream_compression_context* ctx, grpc_slice_buffer* in, grpc_slice_buffer* out, diff --git a/src/core/lib/debug/trace.h b/src/core/lib/debug/trace.h index 55713c8925..69ddd80222 100644 --- a/src/core/lib/debug/trace.h +++ b/src/core/lib/debug/trace.h @@ -92,6 +92,7 @@ class DebugOnlyTraceFlag { public: DebugOnlyTraceFlag(bool default_enabled, const char* name) {} bool enabled() { return false; } + private: void set_enabled(bool enabled) {} }; -- cgit v1.2.3