cvs commit: src/usr.sbin/moused moused.c

Jung-uk Kim jkim at FreeBSD.org
Mon Mar 24 10:23:36 PDT 2008


jkim        2008-03-24 17:23:25 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    usr.sbin/moused      moused.c 
  Log:
  MFC:    1.80-1.83
  
  - Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC
  as it is only used to track elapsed time.[1]
  - Fix compiler warnings and style(9) bugs.
  
  [1] CLOCK_MONOTONIC is used on here because CLOCK_MONOTONIC_FAST is
  unimplemented on RELENG_6.
  
  Revision  Changes    Path
  1.70.2.7  +284 -255  src/usr.sbin/moused/moused.c


More information about the cvs-src mailing list