Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 18:54:51 -0800
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   offsetof in stddef [was: Re: cvs commit: src/sys/conf param.c ... ]
Message-ID:  <39FCE2FB.98301D13@cup.hp.com>
References:  <200010291657.IAA04375@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

-- 
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




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