Date: Mon, 21 Oct 1996 15:20:18 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: jdp@polstra.com (John Polstra) Cc: bde@zeta.org.au, current@FreeBSD.org, phk@FreeBSD.org, wollman@lcs.mit.edu Subject: Re: <sys/queue.h> Message-ID: <199610212220.PAA06727@phaeton.artisoft.com> In-Reply-To: <199610202112.OAA04687@austin.polstra.com> from "John Polstra" at Oct 20, 96 02:12:38 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> Why do you say that? There's already precedent for using typedefs > for structs in, for example, the "DIR" type of <dirent.h>. And it > is in line with C++ practice, where the struct, class, or union > keyword is almost never used outside of the declaration. (I know, > this is C, not C++. But the idea that the name of a type should > not carry unnecessary information about its representation is a > valid one.) Don't forget "FILE". Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610212220.PAA06727>