From owner-freebsd-commit Sat Apr 1 16:13:27 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA10544 for commit-outgoing; Sat, 1 Apr 1995 16:13:27 -0800 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA10526 for cvs-sys-outgoing; Sat, 1 Apr 1995 16:13:14 -0800 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA10472; Sat, 1 Apr 1995 16:11:49 -0800 Date: Sat, 1 Apr 1995 16:11:49 -0800 From: Bruce Evans Message-Id: <199504020011.QAA10472@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net if_sl.c Sender: commit-owner@FreeBSD.org Precedence: bulk bde 95/04/01 16:11:49 Modified: sys/net if_sl.c Log: Fix slioctl(). It has to return -1 for ioctls that it doesn't know about so that these ioctls can be handled by the calling layer(s). Clean up the recently added code: - include the appropriate header to declare an implicitly declared function. - declare timeout functions correctly and remove numerous bogus casts that hid (but didn't fix) their incorrectness.