Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



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@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index