Changes between Version 2 and Version 3 of CodingStyle
- Timestamp:
- Dec 16, 2011, 2:28:37 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStyle
v2 v3 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: 4 4 5 Indentation:: Hardtabs5 Indentation:: Spaces 6 6 Spaces:: Spaces around keywords but not in inner parenthesis. 7 7 Brace placement:: '{' at end of line except for function definition and '}' on its own line except in do-while-loops.