cvs commit: src/sys/sys _timeval.h resource.h select.h time.h types.h

Hasso Tepper hasso at crater.dragonflybsd.org
Wed Jun 18 02:37:57 PDT 2008


hasso       2008/06/18 02:36:07 PDT

DragonFly src repository

  Modified files:
    sys/sys              resource.h select.h time.h types.h 
  Added files:
    sys/sys              _timeval.h 
  Log:
  Move timeval struct into its own header and include it from headers where
  needed or defined by standards plus from sys/types.h. This makes several
  pkgsrc packages more happy.
  
  Including just sys/types.h to use struct timeval works there in every BSD,
  Linux and Solaris, so we can't just ignore it.
  
  Also make struct timeval standards compilant in progress.
  
  Inspired-by: FreeBSD
  
  Revision  Changes    Path
  1.10      +1 -3      src/sys/sys/resource.h
  1.12      +1 -1      src/sys/sys/select.h
  1.20      +1 -9      src/sys/sys/time.h
  1.22      +1 -0      src/sys/sys/types.h


http://www.dragonflybsd.org/cvsweb/src/sys/sys/resource.h.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/select.h.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/time.h.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/types.h.diff?r1=1.21&r2=1.22&f=u





More information about the Commits mailing list