From owner-freebsd-current Fri Mar 13 02:11:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA00635 for freebsd-current-outgoing; Fri, 13 Mar 1998 02:11:32 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from hda.hda.com (hda-bicnet.bicnet.net [208.220.66.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA00629 for ; Fri, 13 Mar 1998 02:11:29 -0800 (PST) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id FAA01489; Fri, 13 Mar 1998 05:10:47 -0500 (EST) From: Peter Dufault Message-Id: <199803131010.FAA01489@hda.hda.com> Subject: Re: A question about sys/sys/queue.h In-Reply-To: from Simon Shapiro at "Mar 12, 98 09:51:07 pm" To: shimon@simon-shapiro.org Date: Fri, 13 Mar 1998 05:10:47 -0500 (EST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > cute. Wonder what the compiled code looks like... This is a standard idiom safe to use around "ifs" etc without extra curly braces - if (test) this_macro_expands_ok(); the generated code is fine even on some bad DSP and microcontroller compilers I use. I try to always use this. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message