diff options
Diffstat (limited to 'Build/source/utils/pmx/pmx-2.6.17/libf2c/signal_.c')
-rw-r--r-- | Build/source/utils/pmx/pmx-2.6.17/libf2c/signal_.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/utils/pmx/pmx-2.6.17/libf2c/signal_.c b/Build/source/utils/pmx/pmx-2.6.17/libf2c/signal_.c new file mode 100644 index 00000000000..3b0e6cfe98b --- /dev/null +++ b/Build/source/utils/pmx/pmx-2.6.17/libf2c/signal_.c @@ -0,0 +1,21 @@ +#include "f2c.h" +#include "signal1.h" +#ifdef __cplusplus +extern "C" { +#endif + + ftnint +#ifdef KR_headers +signal_(sigp, proc) integer *sigp; sig_pf proc; +#else +signal_(integer *sigp, sig_pf proc) +#endif +{ + int sig; + sig = (int)*sigp; + + return (ftnint)signal(sig, proc); + } +#ifdef __cplusplus +} +#endif |