Date: Mon, 8 Jun 1998 11:15:24 +1000 From: Bruce Evans <bde@zeta.org.au> To: cvs-committers@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys time.h Message-ID: <199806080115.LAA01973@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> 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 <sys/types.h> #include <sys/time.h> --- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806080115.LAA01973>