review changes

pull/2242/head
Alistair Veitch 10 years ago
parent fc62dddd1c
commit e2aa487936
  1. 2
      include/grpc++/client_context.h
  2. 4
      src/core/census/grpc_context.c
  3. 3
      src/core/census/grpc_context.h

@ -38,7 +38,6 @@
#include <memory>
#include <string>
#include <grpc/census.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include <grpc++/config.h>
@ -47,6 +46,7 @@
struct grpc_call;
struct grpc_completion_queue;
struct census_context;
namespace grpc {

@ -34,9 +34,7 @@
#include <grpc/census.h>
#include "src/core/census/grpc_context.h"
void *grpc_census_context_create() { return NULL; }
void grpc_census_context_destroy(void *context) {
static void grpc_census_context_destroy(void *context) {
census_context_destroy((census_context *)context);
}

@ -43,9 +43,6 @@
extern "C" {
#endif
void *grpc_census_context_create();
void grpc_census_context_destroy(void *context);
/* Set census context for the call; Must be called before first call to
grpc_call_start_batch(). */
void grpc_census_call_set_context(grpc_call *call, census_context *context);

Loading…
Cancel
Save