Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 1997 10:26:57 -0700 (PDT)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/i386/isa mcd.c scd.c
Message-ID:  <199704201726.KAA02248@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704201726.KAA02248>