From owner-cvs-all Sun Oct 29 19:24:49 2000 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 0F2C337B479; Sun, 29 Oct 2000 19:24:42 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id OAA17392; Mon, 30 Oct 2000 14:20:25 +1100 Date: Mon, 30 Oct 2000 14:20:12 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Marcel Moolenaar Cc: Poul-Henning Kamp , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: offsetof in stddef [was: Re: cvs commit: src/sys/conf param.c ... ] In-Reply-To: <39FCE2FB.98301D13@cup.hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 29 Oct 2000, Marcel Moolenaar wrote: > The reason stddef was included was for offsetof (at least for the > genassym files). This we don't have to do know, but shouldn't we also > define offsetof in stddef.h the same as in sys/types.h (in terms of > __offsetof) to avoid redundancy? We do, but the definition in has some lexical differences in order to expose broken kernel code that includes . It shouldn't be in anyway. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message