Subject: Re: proposed new KNF [was Re: Time to update KNF?]
To: Luke Mewburn <lukem@cs.rmit.edu.au>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: tech-kern
Date: 01/18/2000 00:44:01
In some email I received from Luke Mewburn, sie wrote:
[...]
> /* Make the structure name match the typedef. */
> typedef struct _bar {
> int level;
> } BAR;
[...]
I don't particularly like that. My preference, personally, is to use "_t"
to represent typedefs thus:
typedef struct _bar {
int level;
} bar_t;
At least this way it is distinct from macros and enum's.
Darren