ENH: Fix test on HP-UX

This commit is contained in:
Berk Geveci 2004-02-04 09:42:50 -05:00
parent e6de1efcb8
commit 2522153e59
6 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
char* foo = "Foo";
int SomeFunctionInFoo(int i)
int SomeFunctionInFoo()
{
return i + 5;
return 5;
}

View File

@ -3,7 +3,7 @@ extern "C" {
#endif
extern char* foo;
extern int SomeFunctionInFoo(int i);
extern int SomeFunctionInFoo();
#ifdef __cplusplus
}

View File

@ -18,5 +18,5 @@ int main ()
return 1;
}
printf("Foo: %s\n", foo);
return SomeFunctionInFoo(-5);
return SomeFunctionInFoo()-5;
}

View File

@ -1,6 +1,6 @@
char* foo = "Foo";
int SomeFunctionInFoo(int i)
int SomeFunctionInFoo()
{
return i + 5;
return 5;
}

View File

@ -3,7 +3,7 @@ extern "C" {
#endif
extern char* foo;
extern int SomeFunctionInFoo(int i);
extern int SomeFunctionInFoo();
#ifdef __cplusplus
}

View File

@ -18,5 +18,5 @@ int main ()
return 1;
}
printf("Foo: %s\n", foo);
return SomeFunctionInFoo(-5);
return SomeFunctionInFoo()-5;
}