From 62ea1f21858c69f6921c775ba7a3de201f0514d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 26 Jan 2017 18:52:44 +0100 Subject: [core] remove trailing whitespace, add trailing newlines, add space after // --- platform/darwin/mbgl/storage/reachability.h | 2 +- platform/darwin/mbgl/storage/reachability.m | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'platform/darwin/mbgl') diff --git a/platform/darwin/mbgl/storage/reachability.h b/platform/darwin/mbgl/storage/reachability.h index 78e302eafc..e38c9b1e20 100644 --- a/platform/darwin/mbgl/storage/reachability.h +++ b/platform/darwin/mbgl/storage/reachability.h @@ -63,7 +63,7 @@ typedef void (^NetworkUnreachable)(MGLReachability * reachability); +(instancetype)reachabilityWithHostname:(NSString*)hostname; // This is identical to the function above, but is here to maintain -//compatibility with Apples original code. (see .m) +// compatibility with Apples original code. (see .m) +(instancetype)reachabilityWithHostName:(NSString*)hostname; +(instancetype)reachabilityForInternetConnection; +(instancetype)reachabilityWithAddress:(void *)hostAddress; diff --git a/platform/darwin/mbgl/storage/reachability.m b/platform/darwin/mbgl/storage/reachability.m index aa6746a2a9..2030e7ef71 100644 --- a/platform/darwin/mbgl/storage/reachability.m +++ b/platform/darwin/mbgl/storage/reachability.m @@ -242,10 +242,10 @@ static void TMReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkRea // This is for the case where you flick the airplane mode; // you end up getting something like this: -//Reachability: WR ct----- -//Reachability: -- ------- -//Reachability: WR ct----- -//Reachability: -- ------- +// Reachability: WR ct----- +// Reachability: -- ------- +// Reachability: WR ct----- +// Reachability: -- ------- // We treat this as 4 UNREACHABLE triggers - really apple should do better than this #define testcase (kSCNetworkReachabilityFlagsConnectionRequired | kSCNetworkReachabilityFlagsTransientConnection) -- cgit v1.2.1