From owner-cvs-all Sun Oct 29 18:54:56 2000 Delivered-To: cvs-all@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 12CB137B479; Sun, 29 Oct 2000 18:54:53 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 64DC914F3; Sun, 29 Oct 2000 18:54:52 -0800 (PST) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id SAA12871; Sun, 29 Oct 2000 18:54:51 -0800 (PST) Message-ID: <39FCE2FB.98301D13@cup.hp.com> Date: Sun, 29 Oct 2000 18:54:51 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: offsetof in stddef [was: Re: cvs commit: src/sys/conf param.c ... ] References: <200010291657.IAA04375@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > phk 2000/10/29 08:57:42 PST > > Modified files: > sys/conf param.c > sys/dev/advansys adwlib.h > sys/dev/aic7xxx aic7xxx_freebsd.h > sys/dev/pdq pdqreg.h > sys/i386/i386 genassym.c > sys/i386/linux linux_genassym.c > sys/i386/svr4 svr4_genassym.c > Log: > Remove unneeded #includes. Not completely unrelated: 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? -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message