Remove obsoleted COM_BIDIR, FIFO_TRIGGER_* and "comcontrol bidir"
[unix-history] / lib / libF77 / signal_.c
CommitLineData
547779a8
WH
1#include "f2c.h"
2
3#ifdef KR_headers
4typedef int (*sig_type)();
5extern sig_type signal();
6
7ftnint signal_(sigp, proc) integer *sigp; sig_type proc;
8#else
9#include "signal.h"
10typedef void (*sig_type)(int);
11
12ftnint signal_(integer *sigp, sig_type proc)
13#endif
14{
15 int sig;
16 sig = (int)*sigp;
17
18 return (ftnint)signal(sig, proc);
19 }