diff --git a/Tests/ExportImport/Import/A/imp_testExe1.c b/Tests/ExportImport/Import/A/imp_testExe1.c index 7490a809c0..d3b0e9ed21 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() { diff --git a/Tests/TargetName/executables/hello_world.c b/Tests/TargetName/executables/hello_world.c index 5b6eaf8bf1..71d71f56d5 100644 --- a/Tests/TargetName/executables/hello_world.c +++ b/Tests/TargetName/executables/hello_world.c @@ -1,5 +1,6 @@ #include -main() +int main(void) { printf("hello, world\n"); + return 0; }