Преглед изворни кода

Add void to function definition of FLEXConstructorsShouldRun

matrush пре 5 година
родитељ
комит
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)
 
 /// 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
 #define FLEX_EXIT_IF_NO_CTORS() if (!FLEXConstructorsShouldRun()) return;