aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m2
-rw-r--r--Example/Core/Tests/FIRLoggerTest.m8
2 files changed, 5 insertions, 5 deletions
diff --git a/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m b/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m
index 2bc1de7..60f0651 100644
--- a/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m
+++ b/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m
@@ -34,7 +34,7 @@ static NSString *kKey2 = @"key2";
/** @var gCreateNewObject
@brief A block that returns a new object everytime it is called.
*/
-static id _Nullable (^gCreateNewObject)() = ^id _Nullable() {
+static id _Nullable (^gCreateNewObject)(void) = ^id _Nullable() {
return [[NSObject alloc] init];
};
diff --git a/Example/Core/Tests/FIRLoggerTest.m b/Example/Core/Tests/FIRLoggerTest.m
index 70b688a..5cc7465 100644
--- a/Example/Core/Tests/FIRLoggerTest.m
+++ b/Example/Core/Tests/FIRLoggerTest.m
@@ -28,13 +28,13 @@ extern const char *kFIRLoggerASLClientFacilityName;
extern const char *kFIRLoggerCustomASLMessageFormat;
-extern void FIRResetLogger();
+extern void FIRResetLogger(void);
-extern aslclient getFIRLoggerClient();
+extern aslclient getFIRLoggerClient(void);
-extern dispatch_queue_t getFIRClientQueue();
+extern dispatch_queue_t getFIRClientQueue(void);
-extern BOOL getFIRLoggerDebugMode();
+extern BOOL getFIRLoggerDebugMode(void);
// Define the message format again to make sure the format doesn't accidentally change.
static NSString *const kCorrectASLMessageFormat =