Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2000 06:47:30 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: offsetof in stddef [was: Re: cvs commit: src/sys/conf param.c ... ] 
Message-ID:  <3483.972884850@critter>
In-Reply-To: Your message of "Sun, 29 Oct 2000 18:54:51 PST." <39FCE2FB.98301D13@cup.hp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <39FCE2FB.98301D13@cup.hp.com>, Marcel Moolenaar writes:
>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 <stddef.h> #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?

Unless the commit has messed up on me we do.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


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




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