[Tux3] Some patches to geting closer to kernel

Daniel Phillips phillips at phunq.net
Mon Nov 17 13:31:10 PST 2008

On Monday 17 November 2008 13:21, Daniel Phillips wrote:
> On Monday 17 November 2008 12:48, Daniel Phillips wrote:
> >   - buffer_head is a structure name I have always disliked because of
> >     being inconsistent with "struct page" and "struct inode" etc, and it
> >     is needlessly verbose.  Instead lets do #define buffer_head buffer in
> >     kernel/tux3.h.
> I meant #define buffer buffer_head

...and of course that won't work because it collides with variable
names.  So: #typedef buffer_head buffer_t in kernel/tux3.h and 
#typedef buffer buffer_t in user/buffer.h

Tux3 mailing list
Tux3 at tux3.org

More information about the Tux3 mailing list