debian/external_deps/fetk/punc/src/vf2c/abort_.c
raw| 1 | #include "stdio.h" |
| 2 | #include "f2c.h" |
| 3 | #ifdef __cplusplus |
| 4 | extern "C" { |
| 5 | #endif |
| 6 | |
| 7 | #ifdef KR_headers |
| 8 | extern VOID sig_die(); |
| 9 | |
| 10 | int abort_() |
| 11 | #else |
| 12 | extern void sig_die(char*,int); |
| 13 | |
| 14 | int abort_(void) |
| 15 | #endif |
| 16 | { |
| 17 | sig_die("Fortran abort routine called", 1); |
| 18 | return 0; /* not reached */ |
| 19 | } |
| 20 | #ifdef __cplusplus |
| 21 | } |
| 22 | #endif |