Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2012 15:33:03 +0200
From:      Robert Millan <rmh@freebsd.org>
To:        freebsd-arch@freebsd.org
Subject:   headers that use "struct bintime"
Message-ID:  <CAOfDtXPidEVGHDeZWTQyk-X6pabc0HBqWLdNJG_zRgX=7iKgWg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
"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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfDtXPidEVGHDeZWTQyk-X6pabc0HBqWLdNJG_zRgX=7iKgWg>