Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2002 11:32:27 -0500
From:      Jake Burkholder <jake@locore.ca>
To:        "Alexey V. Neyman" <alex.neyman@auriga.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: struct __hack
Message-ID:  <20020301113227.A71118@locore.ca>
In-Reply-To: <02030111143802.22942@vagabond.auriga.ru>; from alex.neyman@auriga.ru on Fri, Mar 01, 2002 at 11:14:38AM %2B0300
References:  <02030111143802.22942@vagabond.auriga.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, On Fri, Mar 01, 2002 at 11:14:38AM +0300,
	Alexey V. Neyman said words to the effect of;

> Hello there!
> 
> In FreeBSD headers there are many occurences of 'struct __hack' (e.g. 
> in src/sys/module.h, eventhandler.h). What's the point of this 
> structure? I guess it help to avoid some warnings/errors, but what?

Its to require that the macro invocation have a semi-colon after it.
It eats the semi-colon.

> 
> Regards,
> Alexey.
> 
> -- 
> <------------------------->
>  ) May the Sun and Water (   Regards, Alexey V. Neyman
>  ) always fall upon you! (   mailto:alex.neyman@auriga.ru
> <------------------------->
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020301113227.A71118>