From owner-cvs-all Sun Jun 7 18:15:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03866 for cvs-all-outgoing; Sun, 7 Jun 1998 18:15:32 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03859; Sun, 7 Jun 1998 18:15:25 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id LAA01973; Mon, 8 Jun 1998 11:15:24 +1000 Date: Mon, 8 Jun 1998 11:15:24 +1000 From: Bruce Evans Message-Id: <199806080115.LAA01973@godzilla.zeta.org.au> To: cvs-committers@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys time.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > Modified files: > sys/sys time.h > Log: > Sigh, all good words are reserved words these days... > s/private/priv/ Why not use the standard method of adding a short prefix for struct members? Almost all words are reserved for use by applications. The following program broke recently: --- #define cost Did someone add yet more namespace pollution to sys/time.h? #include #include --- I believe the bogus POSIX names for the timespec prefixes (tv_[n]sec instead of ts_[n]sec) are motivated by not even wanting to steal the ts_ prefix from applications. Kernel headers are sloppy about namespaces, but old ones generally limit the damage by using prefixes for struct members. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message