From owner-cvs-sys Sun Apr 20 10:27:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA02255 for cvs-sys-outgoing; Sun, 20 Apr 1997 10:27:00 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA02248; Sun, 20 Apr 1997 10:26:57 -0700 (PDT) Date: Sun, 20 Apr 1997 10:26:57 -0700 (PDT) From: Bruce Evans Message-Id: <199704201726.KAA02248@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa mcd.c scd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/20 10:26:56 Modified: sys/i386/isa mcd.c scd.c Log: Fixed the type of timeout functions and removed casts that hid the type mismatches. mcd and scd were/are particularly bogus. They used a general purpose function taking 2 args for the timeout function and fudged varargs stuff to supply the second arg for the timeout case. This broke `cc -mrtd'. Bounce through a timeout function instead. The timeout arg still gets bogusly cast from int to `void *' and back. Revision Changes Path 1.88 +17 -10 src/sys/i386/isa/mcd.c 1.29 +21 -14 src/sys/i386/isa/scd.c