aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/src
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@gmail.com>2017-11-30 12:01:02 -0800
committerGravatar GitHub <noreply@github.com>2017-11-30 12:01:02 -0800
commit9a7c7362954864b66bc4dffae2516b50446dd6a3 (patch)
treeac506fba749c48c18d294956e17635ada21e20e9 /templates/src
parent4efc604d2e5d6e5b29a5e7eeb1e28fd09ecf28eb (diff)
parent78683f700d6ad423b846fb2c6125cb9848ca1874 (diff)
Merge pull request #13432 from ncteisen/no-more-extern-c
No More Extern "C"
Diffstat (limited to 'templates/src')
-rw-r--r--templates/src/core/plugin_registry.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/src/core/plugin_registry.template b/templates/src/core/plugin_registry.template
index 8d7617129f..805ae9049f 100644
--- a/templates/src/core/plugin_registry.template
+++ b/templates/src/core/plugin_registry.template
@@ -25,8 +25,8 @@ template: |
#include <grpc/grpc.h>
%for plugin in selected.plugins:
- extern "C" void ${plugin}_init(void);
- extern "C" void ${plugin}_shutdown(void);
+ void ${plugin}_init(void);
+ void ${plugin}_shutdown(void);
%endfor
void grpc_register_built_in_plugins(void) {