diff options
author | Brad King <brad.king@kitware.com> | 2008-02-03 13:57:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-03 13:57:58 (GMT) |
commit | 4d9fa41124f3f33bcea94ef54f1f9e077615498d (patch) | |
tree | 588d6fded9fec06002023d1f7dc351c9a2836f90 /Tests/ExportImport | |
parent | 62145a5811f0ba8f65dddd16064f6e9d3e736af3 (diff) | |
download | CMake-4d9fa41124f3f33bcea94ef54f1f9e077615498d.zip CMake-4d9fa41124f3f33bcea94ef54f1f9e077615498d.tar.gz CMake-4d9fa41124f3f33bcea94ef54f1f9e077615498d.tar.bz2 |
COMP: Convert C function prototypes to use (void) instead of ().
Diffstat (limited to 'Tests/ExportImport')
-rw-r--r-- | Tests/ExportImport/Export/testExe1.c | 2 | ||||
-rw-r--r-- | Tests/ExportImport/Export/testExe1lib.c | 2 | ||||
-rw-r--r-- | Tests/ExportImport/Export/testLib1.c | 2 | ||||
-rw-r--r-- | Tests/ExportImport/Export/testLib2.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Tests/ExportImport/Export/testExe1.c b/Tests/ExportImport/Export/testExe1.c index 8ac154f..e00fac7 100644 --- a/Tests/ExportImport/Export/testExe1.c +++ b/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[]) { diff --git a/Tests/ExportImport/Export/testExe1lib.c b/Tests/ExportImport/Export/testExe1lib.c index 60cd746..7ad48a3 100644 --- a/Tests/ExportImport/Export/testExe1lib.c +++ b/Tests/ExportImport/Export/testExe1lib.c @@ -1 +1 @@ -int testExe1lib() { return 0; } +int testExe1lib(void) { return 0; } diff --git a/Tests/ExportImport/Export/testLib1.c b/Tests/ExportImport/Export/testLib1.c index 5491bf9..35bb1e5 100644 --- a/Tests/ExportImport/Export/testLib1.c +++ b/Tests/ExportImport/Export/testLib1.c @@ -1 +1 @@ -int testLib1() { return 0; } +int testLib1(void) { return 0; } diff --git a/Tests/ExportImport/Export/testLib2.c b/Tests/ExportImport/Export/testLib2.c index 5feb83d..aabc0d3 100644 --- a/Tests/ExportImport/Export/testLib2.c +++ b/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(); } |