Re: [Coding style question] XXX_register or register_XXX

From: Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Date: Wed Nov 20 2002 - 20:14:36 EST


Em Wed, Nov 20, 2002 at 08:08:28PM -0500, Robert Love escreveu:
> On Wed, 2002-11-20 at 18:49, Rusty Lynch wrote:
> > int foo_register(&something);
> > int foo_unregister(&something);
 
> But I prefer this - I like there to be a namespace for a given subsystem
> and for it to be a prefix.

100% agreed. Just look at LLC 8) And yes, the big names was procom's fault,
but the way it is structured... I'd love somebody to come up with something
that makes it smaller 8)

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:35 EST