From owner-cvs-usrsbin Fri Nov 21 19:40:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA08995 for cvs-usrsbin-outgoing; Fri, 21 Nov 1997 19:40:08 -0800 (PST) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA08891; Fri, 21 Nov 1997 19:38:22 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id TAA10803; Fri, 21 Nov 1997 19:38:00 -0800 (PST) Date: Fri, 21 Nov 1997 19:38:00 -0800 (PST) Message-Id: <199711220338.TAA10803@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp Makefile alias_cmd.c alias_cmd.h arp.c async.c auth.c auth.h ccp.c ccp.h chap.c chap_ms.c chat.c chat.h command.c command.h defs.c defs.h filter.c filter.h fsm.c fsm.h hdlc.c hdlc.h id.c ip.c ipcp.c ipcp.h lcp.c lcp.h ... Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/11/21 19:38:00 PST Modified files: usr.sbin/ppp Makefile alias_cmd.c alias_cmd.h arp.c async.c auth.c auth.h ccp.c ccp.h chap.c chap_ms.c chat.c chat.h command.c command.h defs.c defs.h filter.c filter.h fsm.c fsm.h hdlc.c hdlc.h id.c ip.c ipcp.c ipcp.h lcp.c lcp.h loadalias.c log.c log.h lqr.c lqr.h main.c main.h mbuf.c mbuf.h modem.c modem.h os.c os.h pap.c phase.c pred.c route.c route.h server.c sig.c slcompress.c slcompress.h systems.c systems.h throughput.c timer.c timer.h tun.c vars.c vars.h vjcomp.c Log: 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). Revision Changes Path 1.32 +10 -4 src/usr.sbin/ppp/Makefile 1.7 +38 -37 src/usr.sbin/ppp/alias_cmd.c 1.4 +3 -3 src/usr.sbin/ppp/alias_cmd.h 1.18 +4 -1 src/usr.sbin/ppp/arp.c 1.14 +2 -2 src/usr.sbin/ppp/async.c 1.24 +9 -8 src/usr.sbin/ppp/auth.c 1.10 +5 -5 src/usr.sbin/ppp/auth.h 1.20 +4 -4 src/usr.sbin/ppp/ccp.c 1.9 +2 -2 src/usr.sbin/ppp/ccp.h 1.26 +4 -4 src/usr.sbin/ppp/chap.c 1.3 +2 -1 src/usr.sbin/ppp/chap_ms.c 1.39 +23 -22 src/usr.sbin/ppp/chat.c 1.9 +4 -4 src/usr.sbin/ppp/chat.h 1.105 +288 -263 src/usr.sbin/ppp/command.c 1.12 +18 -9 src/usr.sbin/ppp/command.h 1.5 +7 -2 src/usr.sbin/ppp/defs.c 1.28 +2 -1 src/usr.sbin/ppp/defs.h 1.19 +47 -42 src/usr.sbin/ppp/filter.c 1.11 +10 -10 src/usr.sbin/ppp/filter.h 1.22 +8 -4 src/usr.sbin/ppp/fsm.c 1.12 +3 -3 src/usr.sbin/ppp/fsm.h 1.22 +17 -38 src/usr.sbin/ppp/hdlc.c 1.12 +3 -4 src/usr.sbin/ppp/hdlc.h 1.3 +10 -9 src/usr.sbin/ppp/id.c 1.32 +17 -12 src/usr.sbin/ppp/ip.c 1.38 +7 -5 src/usr.sbin/ppp/ipcp.c 1.14 +2 -3 src/usr.sbin/ppp/ipcp.h 1.48 +12 -10 src/usr.sbin/ppp/lcp.c 1.13 +3 -3 src/usr.sbin/ppp/lcp.h 1.11 +5 -5 src/usr.sbin/ppp/loadalias.c 1.22 +6 -6 src/usr.sbin/ppp/log.c 1.17 +4 -4 src/usr.sbin/ppp/log.h 1.20 +8 -8 src/usr.sbin/ppp/lqr.c 1.10 +2 -2 src/usr.sbin/ppp/lqr.h 1.105 +38 -22 src/usr.sbin/ppp/main.c 1.8 +1 -2 src/usr.sbin/ppp/main.h 1.11 +3 -3 src/usr.sbin/ppp/mbuf.c 1.9 +2 -2 src/usr.sbin/ppp/mbuf.h 1.67 +35 -34 src/usr.sbin/ppp/modem.c 1.14 +5 -5 src/usr.sbin/ppp/modem.h 1.35 +4 -2 src/usr.sbin/ppp/os.c 1.12 +1 -3 src/usr.sbin/ppp/os.h 1.19 +4 -6 src/usr.sbin/ppp/pap.c 1.3 +3 -3 src/usr.sbin/ppp/phase.c 1.17 +2 -1 src/usr.sbin/ppp/pred.c 1.27 +10 -8 src/usr.sbin/ppp/route.c 1.7 +2 -2 src/usr.sbin/ppp/route.h 1.11 +2 -3 src/usr.sbin/ppp/server.c 1.10 +3 -2 src/usr.sbin/ppp/sig.c 1.14 +3 -3 src/usr.sbin/ppp/slcompress.c 1.10 +3 -3 src/usr.sbin/ppp/slcompress.h 1.28 +18 -18 src/usr.sbin/ppp/systems.c 1.10 +6 -6 src/usr.sbin/ppp/systems.h 1.2 +6 -5 src/usr.sbin/ppp/throughput.c 1.24 +2 -1 src/usr.sbin/ppp/timer.c 1.3 +2 -2 src/usr.sbin/ppp/timer.h 1.3 +6 -3 src/usr.sbin/ppp/tun.c 1.36 +23 -25 src/usr.sbin/ppp/vars.c 1.35 +9 -9 src/usr.sbin/ppp/vars.h 1.13 +2 -1 src/usr.sbin/ppp/vjcomp.c