summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-13 15:07:17 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-13 15:07:17 (GMT)
commit91987aec24506e87f1978af54690beb4dfdba501 (patch)
treee7ca174b7543b9094d28125fdb5682f3f4151b58 /Tests/ExportImport
parente00e67cb924495aab72bfc60dec0451a6566d8a2 (diff)
downloadCMake-91987aec24506e87f1978af54690beb4dfdba501.zip
CMake-91987aec24506e87f1978af54690beb4dfdba501.tar.gz
CMake-91987aec24506e87f1978af54690beb4dfdba501.tar.bz2
Tests: Add missing return types to C function prototypes
These were diagnosed by a Clang 15 development version.
Diffstat (limited to 'Tests/ExportImport')
-rw-r--r--Tests/ExportImport/Import/A/imp_testExe1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExportImport/Import/A/imp_testExe1.c b/Tests/ExportImport/Import/A/imp_testExe1.c
index 7490a80..d3b0e9e 100644
--- a/Tests/ExportImport/Import/A/imp_testExe1.c
+++ b/Tests/ExportImport/Import/A/imp_testExe1.c
@@ -19,7 +19,7 @@ extern int testStaticLibPlugin(void);
#else
# define testLib4libcfg testLib4libopt
#endif
-extern testLib4libcfg(void);
+extern int testLib4libcfg(void);
int main()
{