X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=CODING;h=fe64431579f40e8b34b758fb26d91d85e68acfd9;hp=f8a3fd4f2b4b8906c3eeb126e049abf95e4c655b;hb=800318b43fdf461ad95cd7f3940718f3f0a609a7;hpb=c17d14223044936a5de5007052eff3488350e9d4 diff --git a/CODING b/CODING index f8a3fd4..fe64431 100644 --- a/CODING +++ b/CODING @@ -93,7 +93,29 @@ Example: * like this example. */ - +Do not use braces on one-line if and loop statements. + +Use: + + if (some_condition) + do_some_action(); + else + do_something_else(); + + while (some_condition) + do_something(); + +Instead of: + + if (some_condition) { + do_some_action(); + } + + while (some_condition) { + do_something(); + } + + Dependencies required to build OpenAFS from source -------------------------------------------------- The following packages are required to build all of the OpenAFS code