Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 1998 18:49:07 +1030
From:      Mike Smith <mike@smith.net.au>
To:        joelh@gnu.org
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: GCC extentions in FreeBSD code 
Message-ID:  <199801290819.SAA02281@word.smith.net.au>
In-Reply-To: Your message of "Thu, 29 Jan 1998 02:20:49 MDT." <199801290820.CAA04981@detlev.UUCP> 

next in thread | previous in thread | raw e-mail | index | archive | help
> What's the policy on using GCC extentions in kernel code?  In
> particular, I'm considering using typeof for some variables that are
> holders for other variables, so that if the structures ever change, my
> code will change along with it.

Don't do it.  Define and export a type if you're implementing a public 
interface.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\ 





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