Date: Mon, 24 Mar 2008 17:23:25 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/moused moused.c Message-ID: <200803241723.m2OHNZrj059370@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803241723.m2OHNZrj059370>
