aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-11-03 10:31:53 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-11-03 10:31:53 -0700
commitb32d72ef906d830cdb608e9e44c2ee71a75a2ec8 (patch)
tree09aa88983c1a29637f8889375de60b34cfd6fa1e /templates
parentdf6891e2f3aa883bd8c8ec9e6c39456d8020906e (diff)
Sanity fixes
Diffstat (limited to 'templates')
-rw-r--r--templates/src/core/lib/surface/version.cc.template4
-rw-r--r--templates/src/cpp/common/version_cc.cc.template2
-rw-r--r--templates/test/core/surface/public_headers_must_be_c89.c.template2
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/src/core/lib/surface/version.cc.template b/templates/src/core/lib/surface/version.cc.template
index d2efa565e5..d9fa4479db 100644
--- a/templates/src/core/lib/surface/version.cc.template
+++ b/templates/src/core/lib/surface/version.cc.template
@@ -23,6 +23,6 @@
#include <grpc/grpc.h>
- const char *grpc_version_string(void) { return "${settings.core_version}"; }
+ const char* grpc_version_string(void) { return "${settings.core_version}"; }
- const char *grpc_g_stands_for(void) { return "${settings.g_stands_for}"; }
+ const char* grpc_g_stands_for(void) { return "${settings.g_stands_for}"; }
diff --git a/templates/src/cpp/common/version_cc.cc.template b/templates/src/cpp/common/version_cc.cc.template
index d2e19fe264..9882878727 100644
--- a/templates/src/cpp/common/version_cc.cc.template
+++ b/templates/src/cpp/common/version_cc.cc.template
@@ -25,4 +25,4 @@
namespace grpc {
grpc::string Version() { return "${settings.cpp_version}"; }
- }
+ } // namespace grpc
diff --git a/templates/test/core/surface/public_headers_must_be_c89.c.template b/templates/test/core/surface/public_headers_must_be_c89.c.template
index dcaa59bb30..f96caac218 100644
--- a/templates/test/core/surface/public_headers_must_be_c89.c.template
+++ b/templates/test/core/surface/public_headers_must_be_c89.c.template
@@ -40,4 +40,4 @@
#include <${hdr}>
% endfor
- int main(int argc, char **argv) { return 0; }
+ int main(int argc, char** argv) { return 0; }