including header files in code to get extern C effect

reviewable/pr12692/r4
Yash Tibrewal 8 years ago
parent 240b9ce4e2
commit f4f8dd768c
  1. 1
      src/core/lib/support/string.c
  2. 1
      src/core/lib/support/string_posix.c
  3. 1
      src/core/lib/support/string_windows.c

@ -27,6 +27,7 @@
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/string_util.h>
#include <grpc/support/useful.h>
char *gpr_strdup(const char *src) {

@ -25,6 +25,7 @@
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/string_util.h>
int gpr_asprintf(char **strp, const char *format, ...) {
va_list args;

@ -27,6 +27,7 @@
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/support/string.h"

Loading…
Cancel
Save