diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-09-21 17:21:58 +0200 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-09-21 17:21:58 +0200 |
commit | d115384c5f5df3f0e66b3668b864e1f25df6103c (patch) | |
tree | 9e1f264a5b1e202352ca50e9cdf407c59889d2ad /HACKING | |
parent | da507d8753444252dc77aaf1757014859480cc27 (diff) |
Clarify HACKING about function definition style.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -107,10 +107,13 @@ instead of an asterisk: } * Braces around functions on a separate line from function name, - return value on a separate line: + return value on a separate line, arguments on separate lines. + arguments should be indented with spaces past the column of the function + name. static void - my_special_function (int arg) + my_special_function (int arg1, + int arg2) { /* body of function */ } |