summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Import
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2017-03-23 17:56:24 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-18 13:03:34 (GMT)
commit8577978c580d09abc56fa39f387a3991c91c31ba (patch)
tree5ffd8dee277ae096125a39cabbc9114953bbef6a /Tests/ExportImport/Import
parent26cfd039a9479959da1d893bcee5b2aa879da6c0 (diff)
downloadCMake-8577978c580d09abc56fa39f387a3991c91c31ba.zip
CMake-8577978c580d09abc56fa39f387a3991c91c31ba.tar.gz
CMake-8577978c580d09abc56fa39f387a3991c91c31ba.tar.bz2
Tests: ExportImport C code should use explicit (void) in prototypes
Diffstat (limited to 'Tests/ExportImport/Import')
-rw-r--r--Tests/ExportImport/Import/A/imp_testExe1.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/Tests/ExportImport/Import/A/imp_testExe1.c b/Tests/ExportImport/Import/A/imp_testExe1.c
index 83a9bb5..3488439 100644
--- a/Tests/ExportImport/Import/A/imp_testExe1.c
+++ b/Tests/ExportImport/Import/A/imp_testExe1.c
@@ -1,15 +1,15 @@
-extern int generated_by_testExe1();
-extern int generated_by_testExe3();
-extern int generated_by_testExe4();
-extern int testLib2();
-extern int testLib3();
-extern int testLib4();
-extern int testLib4lib();
-extern int testLib5();
-extern int testLib6();
-extern int testLib7();
-extern int testLibCycleA1();
-extern int testLibPerConfigDest();
+extern int generated_by_testExe1(void);
+extern int generated_by_testExe3(void);
+extern int generated_by_testExe4(void);
+extern int testLib2(void);
+extern int testLib3(void);
+extern int testLib4(void);
+extern int testLib4lib(void);
+extern int testLib5(void);
+extern int testLib6(void);
+extern int testLib7(void);
+extern int testLibCycleA1(void);
+extern int testLibPerConfigDest(void);
/* Switch a symbol between debug and optimized builds to make sure the
proper library is found from the testLib4 link interface. */