headers that use "struct bintime"

Robert Millan rmh at freebsd.org
Sat May 19 13:33:09 UTC 2012


"struct bintime" is enabled only by __BSD_VISIBLE. However, there are
a few headers that use "struct bintime" without __BSD_VISIBLE:

sys/arm/include/cpu.h
sys/dev/iscsi/initiator/iscsivar.h
sys/geom/journal/g_journal.h
sys/sys/dtrace_bsd.h
sys/sys/devicestat.h
sys/sys/timeet.h
sys/sys/bio.h
sys/opencrypto/cryptodev.h

Should the definitions that use "struct bintime" be __BSD_VISIBLE too?
 Or maybe "struct bintime" be defined unconditionally?

Or perhaps we could have "struct __bintime" and use that for system headers?

-- 
Robert Millan


More information about the freebsd-arch mailing list