Skip to content

Commit 734fe1d

Browse files
committed
Fix for Trustkit not building on Xcode 14.3 #298
1 parent 9a51e91 commit 734fe1d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

TrustKit/Dependencies/RSSwizzle/RSSwizzle.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ static void swizzle(Class classToSwizzle,
267267
}
268268

269269

270-
static NSMutableDictionary *swizzledClassesDictionary(){
270+
static NSMutableDictionary *swizzledClassesDictionary(void){
271271
static NSMutableDictionary *swizzledClasses;
272272
static dispatch_once_t onceToken;
273273
dispatch_once(&onceToken, ^{

TrustKit/configuration_utils.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static NSUInteger isSubdomain(NSString *domain, NSString *subdomain)
9999
return notedHostname;
100100
}
101101

102-
NSURLSessionConfiguration *ephemeralNSURLSessionConfiguration() {
102+
NSURLSessionConfiguration *ephemeralNSURLSessionConfiguration(void) {
103103
NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration ephemeralSessionConfiguration];
104104
#if TARGET_OS_IPHONE && !TARGET_OS_TV && !TARGET_OS_WATCH
105105
configuration.multipathServiceType = NSURLSessionMultipathServiceTypeHandover;

0 commit comments

Comments
 (0)