Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: atatat
Date: Sun Nov 14 03:30:10 UTC 2004
Modified Files:
src/sys/compat/netbsd32: netbsd32_time.c
src/sys/kern: kern_time.c sys_pipe.c
src/sys/sys: time.h
Log Message:
Wrap TIMEVAL_TO_TIMESPEC and TIMESPEC_TO_TIMEVAL macros in
do { ... } while(/*CONSTCOND*/0)
so that they can be used unadorned in if/else blocks, etc. This means
that you now *have* to put a ; at the end of the "call" to these
macros.
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/compat/netbsd32/netbsd32_time.c
cvs rdiff -r1.84 -r1.85 src/sys/kern/kern_time.c
cvs rdiff -r1.59 -r1.60 src/sys/kern/sys_pipe.c
cvs rdiff -r1.42 -r1.43 src/sys/sys/time.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index