From owner-freebsd-current Sun Oct 20 15:19:37 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA21170 for current-outgoing; Sun, 20 Oct 1996 15:19:37 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA21154; Sun, 20 Oct 1996 15:19:31 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.7.6/8.7.3) with ESMTP id PAA05120; Sun, 20 Oct 1996 15:19:24 -0700 (PDT) Message-Id: <199610202219.PAA05120@austin.polstra.com> To: Bruce Evans cc: current@FreeBSD.org, phk@FreeBSD.org, wollman@lcs.mit.edu Subject: Re: In-reply-to: Your message of "Mon, 21 Oct 1996 08:06:29 +1000." <199610202206.IAA19365@godzilla.zeta.org.au> Date: Sun, 20 Oct 1996 15:19:24 -0700 From: John Polstra Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > >Why do you say that? There's already precedent for using typedefs > >for structs in, for example, the "DIR" type of . And it > > An exception that proves the rule. A real c (sic) programmer would > never use upper case in a type or variable name :-). is > POSIX. Good point. Of course, a real c (sic) programmer would have named it "posix". :-) > I don't know the BSD history of DIR. Me neither, at least not for sure. I first saw it personally in SunOS, I think. > I didn't completely understood phk's proposal. You can always use > `struct foo' for the type in offsetof() provided the struct has a > tag. The queue macros take a "type" arg which is actually a struct > tag and prefix `struct ' to it. I agree that this is wrong. We're not so far apart in our opinions, then. This last point is the only one I care very much about. John