HomeFreeBSD

Hack around misuse of reserved names `clock' and and `time' in a different

Description

Hack around misuse of reserved names clock' and and time' in a different
way. Defining KERNEL before including <sys/time.h> broke when "opt_cpu.h"
was included in a deeply nested header, except in -current where the
problem is masked by a namespace pollution bug in <stdio.h>.

Details

Provenance
Bruce Evans <bde@FreeBSD.org>Authored on Dec 13 1996, 1:12 PM
Parents
rGe408eccfc79b: Fixed magic and wrong numbers in calibration of nullfunc_loop_profiled()
Branches
Unknown
Tags
Unknown

Event Timeline