Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 Apr 2015 11:21:13 +0800
From: Kai Zhao <loverszhao@...il.com>
To: john-dev@...ts.openwall.com
Subject: Coding Style

Hi all,

Coding style is one of my task. I want to discuss it, document it and
convert to it.
Below is the first problem I want to discuss.

Coding Style [1]: Brace Style
--------------------------------------

1.1 Put the opening brace of a function body in the next line below the
function
prototype or on the same line of the function prototype?

Most of the functions in john put the opening brace of a function body in
the next
line, but there are some functions put it on the same line.

1.2 Put all other opening braces on the same line as the syntax element to
which
the brace is subordinate.


Thanks,

Kai

[ CONTENT OF TYPE text/html SKIPPED ]

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ