> in bio.h there is a
>
> struct  Biobuf
> {
>         Biobufhdr;
>         uchar   b[Bungetsize+Bsize];
> };
>
> where Biobufhdr is declared as
>
> typedef struct  Biobufhdr       Biobufhdr;

This is an unnamed structure. Recent versions of GCC
should be able to handle them when setting the
-fplan9-extension flag.

Otherwise, your change is fine, but "hdr" would probably be
a better name than "Biobufhdr". Also, don't forget to update
your code to use b->hdr.fid instead of b->fid, and so on.

-- 
David du Colombier

Reply via email to