diff options
author | Craig Tiller <ctiller@google.com> | 2017-11-03 10:31:53 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-11-03 10:31:53 -0700 |
commit | b32d72ef906d830cdb608e9e44c2ee71a75a2ec8 (patch) | |
tree | 09aa88983c1a29637f8889375de60b34cfd6fa1e /templates | |
parent | df6891e2f3aa883bd8c8ec9e6c39456d8020906e (diff) |
Sanity fixes
Diffstat (limited to 'templates')
-rw-r--r-- | templates/src/core/lib/surface/version.cc.template | 4 | ||||
-rw-r--r-- | templates/src/cpp/common/version_cc.cc.template | 2 | ||||
-rw-r--r-- | templates/test/core/surface/public_headers_must_be_c89.c.template | 2 |
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; } |