Subject: Re: CVS commit: src/sys
To: Perry E. Metzger <perry@piermont.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: source-changes
Date: 04/15/2006 17:46:14
On Sat, Apr 15, 2006 at 10:45:30AM -0400, Perry E. Metzger wrote:
> >>Should these names have io_ prefixes?  The current names are a bit
> >>"generic", and could cause issues in code that includes <sys/iostat.h>.
> >>
> > They should. Let's do it.
> 
> Er, we live in an age of modern compilers -- the namespace inside
> structs is struct specific. Why do struct members need prefixes like
> io_?

Because it's much easier to read, and is easier to use with tools
like grep.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--