diff options
Diffstat (limited to 'libf2c/libF77/abort_.c')
-rw-r--r-- | libf2c/libF77/abort_.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libf2c/libF77/abort_.c b/libf2c/libF77/abort_.c new file mode 100644 index 00000000000..8efdc42f970 --- /dev/null +++ b/libf2c/libF77/abort_.c @@ -0,0 +1,18 @@ +#include <stdio.h> +#include "f2c.h" + +#ifdef KR_headers +extern VOID sig_die(); + +int G77_abort_0 () +#else +extern void sig_die(char*,int); + +int G77_abort_0 (void) +#endif +{ +sig_die("Fortran abort routine called", 1); +#ifdef __cplusplus +return 0; +#endif +} |