aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Yuxuan Li <yuxuanli@google.com>2017-05-15 16:53:01 -0700
committerGravatar Yuxuan Li <yuxuanli@google.com>2017-05-15 16:53:01 -0700
commit8698f2bbee0ce2589eb04c4160bc4ca848af112b (patch)
tree4b28da415e11bc2fdd7849a8d855bbd5d5fc02a4 /test
parent02d635bf88e2af6489851ec57c3b06ce9713b1c5 (diff)
fix extern c location
Diffstat (limited to 'test')
-rw-r--r--test/cpp/qps/client.h5
-rw-r--r--test/cpp/qps/server.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/test/cpp/qps/client.h b/test/cpp/qps/client.h
index bebe1b9b1e..5ae6b54f89 100644
--- a/test/cpp/qps/client.h
+++ b/test/cpp/qps/client.h
@@ -46,6 +46,7 @@
#include <grpc/support/log.h>
#include <grpc/support/time.h>
+#include "src/core/lib/surface/completion_queue.h"
#include "src/proto/grpc/testing/payloads.pb.h"
#include "src/proto/grpc/testing/services.grpc.pb.h"
@@ -54,10 +55,6 @@
#include "test/cpp/qps/usage_timer.h"
#include "test/cpp/util/create_test_channel.h"
-extern "C" {
-#include "src/core/lib/surface/completion_queue.h"
-}
-
namespace grpc {
namespace testing {
diff --git a/test/cpp/qps/server.h b/test/cpp/qps/server.h
index 007770421a..a03dd1a695 100644
--- a/test/cpp/qps/server.h
+++ b/test/cpp/qps/server.h
@@ -38,16 +38,13 @@
#include <grpc/support/cpu.h>
#include <vector>
+#include "src/core/lib/surface/completion_queue.h"
#include "src/proto/grpc/testing/control.pb.h"
#include "src/proto/grpc/testing/messages.pb.h"
#include "test/core/end2end/data/ssl_test_data.h"
#include "test/core/util/port.h"
#include "test/cpp/qps/usage_timer.h"
-extern "C" {
-#include "src/core/lib/surface/completion_queue.h"
-}
-
namespace grpc {
namespace testing {