From owner-freebsd-commit Wed Oct 4 17:35:16 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA10853 for freebsd-commit-outgoing; Wed, 4 Oct 1995 17:35:16 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA10839 for cvs-all-outgoing; Wed, 4 Oct 1995 17:35:12 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA10781 for cvs-sys-outgoing; Wed, 4 Oct 1995 17:33:48 -0700 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA10768 ; Wed, 4 Oct 1995 17:33:29 -0700 Date: Wed, 4 Oct 1995 17:33:29 -0700 From: Bruce Evans Message-Id: <199510050033.RAA10768@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net if_ppp.c Sender: owner-commit@FreeBSD.org Precedence: bulk bde 95/10/04 17:33:28 Modified: sys/net if_ppp.c Log: Don't wait for output to drain in pppclose(). Discard output immediately for the same reasons as in slclose(). Free the cblock in the canonical queue in pppclose(). This is a no-op in the usual cases where the tty is being closed or the line discipline is being switched back to the standard discipline, but it saves a cblock if the line discipline is being switched to one that doesn't use the canonical queue. Add prototypes. I use `extern' in prototypes for functions with bogus linkage. This should be fixed someday. Continue cleaning up new init stuff yet again.