]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Discussions on src-committers with alfred and bde pointed out that
authorGarance A Drosehn <gad@FreeBSD.org>
Fri, 25 Jul 2003 18:40:36 +0000 (18:40 +0000)
committerGarance A Drosehn <gad@FreeBSD.org>
Fri, 25 Jul 2003 18:40:36 +0000 (18:40 +0000)
commita564e4a923198a2768e537636c5a6ae0e6103c31
tree6e920bb82416ddb374543eafee788cbcf5994a34
parent16f564013c68872f7855f2705db74dffbf2fdfee
Discussions on src-committers with alfred and bde pointed out that
the "do-nothing" versions of __RCSID(), __RCSID_SOURCE(), __SCCSID(),
and __COPYRIGHT() were not strictly correct.  They should not expand
into [nothing], because the ';' which follows them would then cause
a syntax error (in a strict C compiler, if not gcc...).

So, change the do-nothing versions of those macros to use the
'struct __hack' tactic, as was already used with __FBSDID().

Approved by: discussions with bde
MFC after: 1 week
sys/sys/cdefs.h