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

COMP: Convert C function prototypes to use (void) instead of ().

Brad King 18 лет назад
Родитель
Сommit
4d9fa41124

+ 1 - 1
Tests/ExportImport/Export/testExe1.c

@@ -1,6 +1,6 @@
 #include <stdio.h>
 
-extern int testExe1lib();
+extern int testExe1lib(void);
 
 int main(int argc, const char* argv[])
 {

+ 1 - 1
Tests/ExportImport/Export/testExe1lib.c

@@ -1 +1 @@
-int testExe1lib() { return 0; }
+int testExe1lib(void) { return 0; }

+ 1 - 1
Tests/ExportImport/Export/testLib1.c

@@ -1 +1 @@
-int testLib1() { return 0; }
+int testLib1(void) { return 0; }

+ 2 - 2
Tests/ExportImport/Export/testLib2.c

@@ -1,4 +1,4 @@
 
-extern int testLib1();
+extern int testLib1(void);
 
-int testLib2() { return testLib1(); }
+int testLib2(void) { return testLib1(); }