diff --git a/Tests/SimpleInstall/foo.c b/Tests/SimpleInstall/foo.c index 5c7c3e631..45d5b2bf2 100644 --- a/Tests/SimpleInstall/foo.c +++ b/Tests/SimpleInstall/foo.c @@ -1,6 +1,6 @@ char* foo = "Foo"; -int SomeFunctionInFoo(int i) +int SomeFunctionInFoo() { - return i + 5; + return 5; } diff --git a/Tests/SimpleInstall/foo.h b/Tests/SimpleInstall/foo.h index bba9022e5..2708baffe 100644 --- a/Tests/SimpleInstall/foo.h +++ b/Tests/SimpleInstall/foo.h @@ -3,7 +3,7 @@ extern "C" { #endif extern char* foo; -extern int SomeFunctionInFoo(int i); +extern int SomeFunctionInFoo(); #ifdef __cplusplus } diff --git a/Tests/SimpleInstall/inst.cxx b/Tests/SimpleInstall/inst.cxx index 47d73c0a3..84f2adbe7 100644 --- a/Tests/SimpleInstall/inst.cxx +++ b/Tests/SimpleInstall/inst.cxx @@ -18,5 +18,5 @@ int main () return 1; } printf("Foo: %s\n", foo); - return SomeFunctionInFoo(-5); + return SomeFunctionInFoo()-5; } diff --git a/Tests/SimpleInstallS2/foo.c b/Tests/SimpleInstallS2/foo.c index 5c7c3e631..45d5b2bf2 100644 --- a/Tests/SimpleInstallS2/foo.c +++ b/Tests/SimpleInstallS2/foo.c @@ -1,6 +1,6 @@ char* foo = "Foo"; -int SomeFunctionInFoo(int i) +int SomeFunctionInFoo() { - return i + 5; + return 5; } diff --git a/Tests/SimpleInstallS2/foo.h b/Tests/SimpleInstallS2/foo.h index bba9022e5..2708baffe 100644 --- a/Tests/SimpleInstallS2/foo.h +++ b/Tests/SimpleInstallS2/foo.h @@ -3,7 +3,7 @@ extern "C" { #endif extern char* foo; -extern int SomeFunctionInFoo(int i); +extern int SomeFunctionInFoo(); #ifdef __cplusplus } diff --git a/Tests/SimpleInstallS2/inst.cxx b/Tests/SimpleInstallS2/inst.cxx index 47d73c0a3..84f2adbe7 100644 --- a/Tests/SimpleInstallS2/inst.cxx +++ b/Tests/SimpleInstallS2/inst.cxx @@ -18,5 +18,5 @@ int main () return 1; } printf("Foo: %s\n", foo); - return SomeFunctionInFoo(-5); + return SomeFunctionInFoo()-5; }