Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 1998 19:17:45 -0800 (PST)
From:      Simon Shapiro <shimon@simon-shapiro.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   A question about sys/sys/queue.h
Message-ID:  <XFMail.980312191745.shimon@simon-shapiro.org>

next in thread | raw e-mail | index | archive | help
Why was the definition of some macros changed
from:

#define FOO {   ...   }

to:

#define FOO do {  ...  } while(0)

I thought these are the same...

----------


Sincerely Yours, 

Simon Shapiro
Shimon@Simon-Shapiro.ORG                      Voice:   503.799.2313

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



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