Browse Source

Merge topic 'MissingVoid'

075ed33750 Tests: Fix pedantic warning about missing void in C function declaration

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4984
Brad King 5 years ago
parent
commit
89845851a7

+ 1 - 1
Tests/XCTest/StaticLibExample/StaticLibExample.c

@@ -1,6 +1,6 @@
 #include "StaticLibExample.h"
 
-int FourtyFour()
+int FourtyFour(void)
 {
   return 44;
 }

+ 1 - 1
Tests/XCTest/StaticLibExample/StaticLibExample.h

@@ -1 +1 @@
-int FourtyFour();
+int FourtyFour(void);