Changes between Version 1 and Version 2 of CodingStyle
- Timestamp:
- Dec 15, 2011, 7:31:14 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStyle
v1 v2 1 == [Proposal]Coding Style ==1 == Coding Style == 2 2 3 3 In general, the [http://kerneltrap.org/files/Jeremy/CodingStyle.txt coding standards] used in the Linux kernel are versatile, comprehensive and quite good looking. They are boiling down to the following guide lines: … … 55 55 } 56 56 }}} 57 58 59 == Astyle Formatter == 60 61 Corresponding flags for the [http://astyle.sourceforge.net/ astyle] formatter are 62 {{{ 63 astyle --style=k/r --indent=spaces --indent-switches --break-blocks --pad-oper --pad-header --delete-empty-lines --break-closing-brackets --align-pointer=name filename.c 64 }}}