summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/sig.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-22 03:37:54 +0000
committerbrian <brian@FreeBSD.org>1997-11-22 03:37:54 +0000
commita7f001c816c9390acda1c72f889fd110f8d75563 (patch)
tree876d508224fb0bc9435a2e3b83f73719b56ad0b6 /usr.sbin/ppp/sig.c
parent13d351d26116b6bf544f619e0de396a53d47ccd1 (diff)
downloadFreeBSD-src-a7f001c816c9390acda1c72f889fd110f8d75563.zip
FreeBSD-src-a7f001c816c9390acda1c72f889fd110f8d75563.tar.gz
Fix prototypes.
Remove extraneous decls. Add ``const'' to several places. Allow ``make NOALIAS=1'' to remove IP aliasing. Merge with OpenBSD - only the Makefiles vary. We can now survive a compile with -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wchar-subscripts (although the Makefile just contains -Wall).
Diffstat (limited to 'usr.sbin/ppp/sig.c')
-rw-r--r--usr.sbin/ppp/sig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/sig.c b/usr.sbin/ppp/sig.c
index 8ca77fa..50c47d3 100644
--- a/usr.sbin/ppp/sig.c
+++ b/usr.sbin/ppp/sig.c
@@ -1,14 +1,15 @@
/*
- * $Id: $
+ * $Id: sig.c,v 1.9 1997/10/26 01:03:42 brian Exp $
*/
#include <sys/types.h>
#include <signal.h>
-#include "sig.h"
+#include "command.h"
#include "mbuf.h"
#include "log.h"
+#include "sig.h"
static caused[NSIG]; /* An array of pending signals */
static sig_type handler[NSIG]; /* all start at SIG_DFL */
OpenPOWER on IntegriCloud