diff options
author | brian <brian@FreeBSD.org> | 1998-05-21 21:49:08 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-05-21 21:49:08 +0000 |
commit | 56df88b778aee0e60678672b107a48a8ea05cb48 (patch) | |
tree | 13b88ca17b38e787c84b0cd242677b3c3c0b93c3 /usr.sbin/ppp/sig.c | |
parent | e077fa331b8a428923ded3a95d0b8d47084cf670 (diff) | |
download | FreeBSD-src-56df88b778aee0e60678672b107a48a8ea05cb48.zip FreeBSD-src-56df88b778aee0e60678672b107a48a8ea05cb48.tar.gz |
MFMP: Make ppp multilink capable.
See the file README.changes, and re-read the man page.
Diffstat (limited to 'usr.sbin/ppp/sig.c')
-rw-r--r-- | usr.sbin/ppp/sig.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/ppp/sig.c b/usr.sbin/ppp/sig.c index 3cf1a30..b79e7e9 100644 --- a/usr.sbin/ppp/sig.c +++ b/usr.sbin/ppp/sig.c @@ -23,15 +23,13 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sig.c,v 1.11 1997/12/21 12:11:08 brian Exp $ + * $Id: sig.c,v 1.11.2.5 1998/05/01 19:25:56 brian Exp $ */ #include <sys/types.h> #include <signal.h> -#include "command.h" -#include "mbuf.h" #include "log.h" #include "sig.h" @@ -54,13 +52,13 @@ signal_recorder(int sig) */ sig_type -pending_signal(int sig, sig_type fn) +sig_signal(int sig, sig_type fn) { sig_type Result; if (sig <= 0 || sig > NSIG) { /* Oops - we must be a bit out of date (too many sigs ?) */ - LogPrintf(LogALERT, "Eeek! %s:%s: I must be out of date!\n", + log_Printf(LogALERT, "Eeek! %s:%d: I must be out of date!\n", __FILE__, __LINE__); return signal(sig, fn); } @@ -80,7 +78,7 @@ pending_signal(int sig, sig_type fn) /* Call the handlers for any pending signals */ void -handle_signals() +sig_Handle() { int sig; int got; |