Recommendation for Indentation in kernel code.
Tzahi Fadida <[email protected]> Fri, 1 Jun 2007 17:10:30 +0300
| Newsgroups | gmane.culture.hackers.israel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am researching coding styles for kernel code and enforcement tools. I think i like the benefits of BSD/KNF coding style: see http://en.wikipedia.org/wiki/Indent_style (Specifically the 8 spaces for blocks and 4 for function breaks are nice). However, liking and practical are two different things. I need a script/s that: 1) Indent and conform to the coding style. 2) Can say that a code is non-conformant by showing the offending line (this is important so people will not commit non-conformant files to version control systems). 3) Must work both on Unix/Linux systems as well as (and this is important for a cross platform program/ers) Windows. If it is not cross-platform no one will even consider using it. -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html