[cmake-commits] king committed testExe1.c 1.2 1.3 testExe1lib.c 1.1 1.2 testLib1.c 1.1 1.2 testLib2.c 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Feb 3 08:58:00 EST 2008


Update of /cvsroot/CMake/CMake/Tests/ExportImport/Export
In directory public:/mounts/ram/cvs-serv1878/Tests/ExportImport/Export

Modified Files:
	testExe1.c testExe1lib.c testLib1.c testLib2.c 
Log Message:
COMP: Convert C function prototypes to use (void) instead of ().


Index: testLib1.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Export/testLib1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- testLib1.c	28 Jan 2008 13:40:20 -0000	1.1
+++ testLib1.c	3 Feb 2008 13:57:58 -0000	1.2
@@ -1 +1 @@
-int testLib1() { return 0; }
+int testLib1(void) { return 0; }

Index: testExe1.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Export/testExe1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- testExe1.c	28 Jan 2008 18:37:59 -0000	1.2
+++ testExe1.c	3 Feb 2008 13:57:58 -0000	1.3
@@ -1,6 +1,6 @@
 #include <stdio.h>
 
-extern int testExe1lib();
+extern int testExe1lib(void);
 
 int main(int argc, const char* argv[])
 {

Index: testExe1lib.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Export/testExe1lib.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- testExe1lib.c	28 Jan 2008 18:37:59 -0000	1.1
+++ testExe1lib.c	3 Feb 2008 13:57:58 -0000	1.2
@@ -1 +1 @@
-int testExe1lib() { return 0; }
+int testExe1lib(void) { return 0; }

Index: testLib2.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Export/testLib2.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- testLib2.c	28 Jan 2008 13:40:20 -0000	1.1
+++ testLib2.c	3 Feb 2008 13:57:58 -0000	1.2
@@ -1,4 +1,4 @@
 
-extern int testLib1();
+extern int testLib1(void);
 
-int testLib2() { return testLib1(); }
+int testLib2(void) { return testLib1(); }



More information about the Cmake-commits mailing list