hi,

no, it is an anonym field.  and it is used in a way that is not part
of ansi c.  there is an extension in newer versions of gcc which
supports it, but if you wan't to port plan 9 c to unix you can use the
libs from plan9port.  that's far more easier.

bence

2014-10-07 17:24 GMT+02:00 Carsten Kunze <carsten.ku...@arcor.de>:

> Hello,
>
> in bio.h there is a
>
> struct  Biobuf
> {
>         Biobufhdr;
>         uchar   b[Bungetsize+Bsize];
> };
>
> where Biobufhdr is declared as
>
> typedef struct  Biobufhdr       Biobufhdr;
>
> To make it compile with gcc under UNIX I changed the struct to
>
> struct  Biobuf
> {
>         Biobufhdr Biobufhdr;
>         uchar   b[Bungetsize+Bsize];
> };
>
> but is that what is meant by the original description above?
>
>    Carsten
>
>

Reply via email to