From cff6469dfc1beb118773961106ae884234a908f5 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sat, 3 Oct 2015 02:01:51 +0200 Subject: [PATCH] Making template agree with clang-format. --- gRPC.podspec | 1 + src/core/surface/version.c | 4 +--- templates/src/core/surface/version.c.template | 5 ++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gRPC.podspec b/gRPC.podspec index 46823453bab..122c16eff85 100644 --- a/gRPC.podspec +++ b/gRPC.podspec @@ -46,6 +46,7 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/grpc/grpc.git', :tag => "release-#{version.gsub(/\./, '_')}-objectivec-#{version}" } + s.ios.deployment_target = '7.1' s.osx.deployment_target = '10.9' s.requires_arc = true diff --git a/src/core/surface/version.c b/src/core/surface/version.c index 4b90e06a043..e559d51448a 100644 --- a/src/core/surface/version.c +++ b/src/core/surface/version.c @@ -36,6 +36,4 @@ #include -const char *grpc_version_string(void) { - return "0.11.0.0"; -} +const char *grpc_version_string(void) { return "0.11.0.0"; } diff --git a/templates/src/core/surface/version.c.template b/templates/src/core/surface/version.c.template index 3e6840460fa..31a5af99cae 100644 --- a/templates/src/core/surface/version.c.template +++ b/templates/src/core/surface/version.c.template @@ -38,6 +38,5 @@ #include - const char *grpc_version_string(void) { - return "${settings.version.major}.${settings.version.minor}.${settings.version.micro}.${settings.version.build}"; - } + const char *grpc_version_string(void) { \ + return "${settings.version.major}.${settings.version.minor}.${settings.version.micro}.${settings.version.build}"; }