Просмотр исходного кода

Add void to function definition of FLEXConstructorsShouldRun

matrush лет назад: 5
Родитель
Сommit
c5ed6d4ece
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Classes/Utility/FLEXMacros.h

+ 1 - 1
Classes/Utility/FLEXMacros.h

@@ -17,7 +17,7 @@
 #define FLEX_IS_TESTING() (NSClassFromString(@"XCTest") != nil)
 #define FLEX_IS_TESTING() (NSClassFromString(@"XCTest") != nil)
 
 
 /// Whether we want the majority of constructors to run upon load or not.
 /// Whether we want the majority of constructors to run upon load or not.
-extern BOOL FLEXConstructorsShouldRun();
+extern BOOL FLEXConstructorsShouldRun(void);
 
 
 /// A macro to return from the current procedure if we don't want to run constructors
 /// A macro to return from the current procedure if we don't want to run constructors
 #define FLEX_EXIT_IF_NO_CTORS() if (!FLEXConstructorsShouldRun()) return;
 #define FLEX_EXIT_IF_NO_CTORS() if (!FLEXConstructorsShouldRun()) return;