k...@shike2.com wrote: > For long time I followed the rule of kernel style of not using typedef > ever, but I changed it to the rule of using typedef only with structs > and capital letter, and I can say that this last is far better; You > get more readable function definitions:
Not typedefing really makes code hard to read. I switched to typedefing pretty much everything used more than twice. Usually suffix typenames with _e, _u, _s and _fn for enums, unions, structs and functions respectively.