Subject: Re: Bitfields and kernel
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: m. k. buelow <>
List: tech-kern
Date: 10/04/1999 21:40:37
der Mouse wrote:

>Fortunately or unfortunately, it's possible to replace the #defines and
>still leave the variables as having non-enum type.  Indeed, I know of
>one shop whose house coding style calls for this.

Plan9 seems to do this extensively (at least in the headers that I
have seen and publicly available programs like the sam editor) so
it should be reasonably safe practice.  Kernighan and Pike also
recommend it (no wonder, since they're affiliated with the Plan9