From owner-freebsd-hackers Fri Mar 1 8:30:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by hub.freebsd.org (Postfix) with ESMTP id F1F5537B402 for ; Fri, 1 Mar 2002 08:30:20 -0800 (PST) Received: (from jake@localhost) by k6.locore.ca (8.11.6/8.11.6) id g21GWSX74006; Fri, 1 Mar 2002 11:32:28 -0500 (EST) (envelope-from jake) Date: Fri, 1 Mar 2002 11:32:27 -0500 From: Jake Burkholder To: "Alexey V. Neyman" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: struct __hack Message-ID: <20020301113227.A71118@locore.ca> References: <02030111143802.22942@vagabond.auriga.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <02030111143802.22942@vagabond.auriga.ru>; from alex.neyman@auriga.ru on Fri, Mar 01, 2002 at 11:14:38AM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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