Date: Sun, 20 Apr 1997 09:38:28 -0700 (PDT) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa/pcvt pcvt_drv.c pcvt_hdr.h pcvt_kbd.c pcvt_sup.c Message-ID: <199704201638.JAA29731@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 97/04/20 09:38:27 Modified: sys/i386/isa/pcvt pcvt_drv.c pcvt_hdr.h pcvt_kbd.c pcvt_sup.c Log: Fixed the type of timeout functions and removed casts that hid the type mismatches. There was no problem in practice (at least on 386's). Don't cast NULL in calls to timeout functions. pcvt is fully prototyped and doesn't support K&R. Timeout functions take args of type `void *', so use magic numbers of type `void *' for UPDATE_* to reduce the danger of wrong conversions. Removed FreeBSD-pre-1.1-related TIMEOUT_FUNC_T macro. It was especially bogus for the pre-1.1 case. Revision Changes Path 1.31 +3 -2 src/sys/i386/isa/pcvt/pcvt_drv.c 1.25 +4 -12 src/sys/i386/isa/pcvt/pcvt_hdr.h 1.18 +2 -2 src/sys/i386/isa/pcvt/pcvt_kbd.c 1.7 +15 -17 src/sys/i386/isa/pcvt/pcvt_sup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704201638.JAA29731>