Author: biurrun Date: Mon Aug 2 01:02:44 2010 New Revision: 2336 Log: - Clarify note about spaces around () in K&R style. - Explain in the code sample that system headers should go before local ones. Modified: trunk/docs/HACKING Modified: trunk/docs/HACKING ============================================================================== --- trunk/docs/HACKING Sun Aug 1 23:55:54 2010 (r2335) +++ trunk/docs/HACKING Mon Aug 2 01:02:44 2010 (r2336) @@ -475,7 +475,7 @@ but avoid spaces * between function names and '(', - * inside '()'. + * directly after '(' and before ')' - brace placement: Opening braces should be kept on the same line as the corresponding @@ -519,7 +519,10 @@ parentheses: + /* System headers are placed before local headers, with an extra + * empty line added in between to stress the intent. */ #include <stddef.h> /* Use <> for system #includes. */ + #include "header.h" /* Use "" for local #includes. */ struct whatever { -- This is the pisa developer mailing list. Please also subscribe to the main pisa list at: //www.freelists.org/list/pisa