CODING: update style guide for multiline comments 61/12361/2
authorMichael Meffie <mmeffie@sinenomine.net>
Sat, 6 Aug 2016 16:57:59 +0000 (12:57 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Sat, 6 Aug 2016 17:05:18 +0000 (13:05 -0400)
Document the preferred style for multiple line comment blocks and give an
example.

Change-Id: I73d6183da9014a943316e5aea1d43be2acc81ad7
Reviewed-on: https://gerrit.openafs.org/12361
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>

CODING

diff --git a/CODING b/CODING
index 6a1af05..f8a3fd4 100644 (file)
--- a/CODING
+++ b/CODING
@@ -83,6 +83,16 @@ Suggested compiler flags:
                (You might not want the -fd, it isn't really useful, just complains about the
                K&R style functions, but -v gives useful info.)
 
+Multiple line comment blocks should begin with only /* on one line and end with
+only */ on one line.
+
+Example:
+
+       /*
+        * Multiple line comment blocks should be formatted
+        * like this example.
+        */
+
 \f
 Dependencies required to build OpenAFS from source
 --------------------------------------------------