On Mon, 2007-03-26 at 12:48 +0200, Hannes Gredler wrote:
> On Mon, Mar 26, 2007 at 12:26:50PM +0200, Bernd Petrovitsch wrote:
> | On Mon, 2007-03-26 at 11:04 +0200, Hannes Gredler wrote:
[...]
> | >   - little/no use of typedefs.
> | 
> | Which is IMHO actually a good thing. No need for another layer of
> | (syntactic) obfuscation and appending "_type" is IMHO the same effort as
> | prepending with
> | "struct " .....
> 
> well a foo_t (aka POSIX style e.g. u_int8_t) is shorter than a "struct foo";

Gotcha;-) The "_t" suffix is reserved for the libc (similar to all
__.*__ preprocessor #define's). More reserved stuff can be found on e.g.
http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html
Propose another one.

> and i find a e.g. avl_node_t pretty self speaking. i have no hard feelings
> here either (its just what i am used to do over here).

Yes, it is also (if not mainly) a question of what people are used to.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



