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

[MiNT] Programming style



Hi!

When I implemented the deadkey-stuff in keyboard.c, I noticed that there were no static variables inside functions. Global variables are used even for variables that are used inside a single function, I would say that a local static variable would be better for this. So before I submit my patch - must I move the local static variable out of the function, or is this OK?

Jo Even

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4689 (20091215) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com