diff options
| author | Alexander Kabaev <kan@FreeBSD.org> | 2003-07-11 03:42:19 +0000 |
|---|---|---|
| committer | Alexander Kabaev <kan@FreeBSD.org> | 2003-07-11 03:42:19 +0000 |
| commit | 6bdbd039fdee37985426b3cfdb6ec9b43f1c96aa (patch) | |
| tree | ddafd6196c36e6100eb4f969af01a11ee9c83a81 /contrib/libf2c/libF77/exit_.c | |
| parent | 63c14f51d5c7b6579c1eac10cec4b60f42b86e84 (diff) | |
Notes
Diffstat (limited to 'contrib/libf2c/libF77/exit_.c')
| -rw-r--r-- | contrib/libf2c/libF77/exit_.c | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/contrib/libf2c/libF77/exit_.c b/contrib/libf2c/libF77/exit_.c index 4c0582add127..adf3d8592748 100644 --- a/contrib/libf2c/libF77/exit_.c +++ b/contrib/libf2c/libF77/exit_.c @@ -12,26 +12,14 @@ #undef abs #undef min #undef max -#ifndef KR_headers #include <stdlib.h> -#ifdef __cplusplus -extern "C" { -#endif -extern void f_exit(void); -#endif +extern void f_exit (void); - void -#ifdef KR_headers -G77_exit_0 (rc) integer *rc; -#else -G77_exit_0 (integer *rc) -#endif +void +G77_exit_0 (integer * rc) { #ifdef NO_ONEXIT - f_exit(); + f_exit (); #endif - exit(*rc); - } -#ifdef __cplusplus + exit (*rc); } -#endif |
