Merge pull request #1651 from jboeuf/subprocess_binary_extension

Extension should return a const char *.
pull/1658/head
Craig Tiller 10 years ago
commit c4c3f389ee
  1. 2
      include/grpc/support/subprocess.h
  2. 2
      src/core/support/subprocess_posix.c

@ -37,7 +37,7 @@
typedef struct gpr_subprocess gpr_subprocess;
/* .exe on windows, empty on unices */
char *gpr_subprocess_binary_extension();
const char *gpr_subprocess_binary_extension();
gpr_subprocess *gpr_subprocess_create(int argc, char **argv);
/* if subprocess has not been joined, kill it */

@ -55,7 +55,7 @@ struct gpr_subprocess {
int joined;
};
char *gpr_subprocess_binary_extension() { return ""; }
const char *gpr_subprocess_binary_extension() { return ""; }
gpr_subprocess *gpr_subprocess_create(int argc, char **argv) {
gpr_subprocess *r;

Loading…
Cancel
Save