From 6c5b67981e26efd9816ee42393bbafce4c354142 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 14 Apr 2004 15:56:39 -0400 Subject: ENH: remove warnings from try compiles --- Modules/CheckFunctionExists.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Modules/CheckFunctionExists.c') diff --git a/Modules/CheckFunctionExists.c b/Modules/CheckFunctionExists.c index e205b64054..e064c092e1 100644 --- a/Modules/CheckFunctionExists.c +++ b/Modules/CheckFunctionExists.c @@ -2,10 +2,15 @@ char CHECK_FUNCTION_EXISTS(); -int main() +int main(int ac, char*av[]) { + int ret = 0; CHECK_FUNCTION_EXISTS(); - return 0; + if(ac > 100) + { + ret = *av[0]; + } + return ret; } #else /* CHECK_FUNCTION_EXISTS */ -- cgit v1.2.1