diff options
Diffstat (limited to 'Modules/CheckFunctionExists.c')
-rw-r--r-- | Modules/CheckFunctionExists.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Modules/CheckFunctionExists.c b/Modules/CheckFunctionExists.c index fd29618..2304000 100644 --- a/Modules/CheckFunctionExists.c +++ b/Modules/CheckFunctionExists.c @@ -3,24 +3,26 @@ #ifdef __cplusplus extern "C" #endif -char CHECK_FUNCTION_EXISTS(); + char + CHECK_FUNCTION_EXISTS(); #ifdef __CLASSIC_C__ -int main(){ +int main() +{ int ac; - char*av[]; + char* av[]; #else -int main(int ac, char*av[]){ +int main(int ac, char* av[]) +{ #endif CHECK_FUNCTION_EXISTS(); - if(ac > 1000) - { + if (ac > 1000) { return *av[0]; - } + } return 0; } -#else /* CHECK_FUNCTION_EXISTS */ +#else /* CHECK_FUNCTION_EXISTS */ -# error "CHECK_FUNCTION_EXISTS has to specify the function" +#error "CHECK_FUNCTION_EXISTS has to specify the function" #endif /* CHECK_FUNCTION_EXISTS */ |