aboutsummaryrefslogtreecommitdiff
path: root/doc/coding-style
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-09-22 19:24:44 +0000
committerKen Raeburn <raeburn@mit.edu>2006-09-22 19:24:44 +0000
commit5dbe29f820c8da6a2d9579a4e8329328dcac32a1 (patch)
tree19ab46178d97e535f62ebba0785504c19a50aa76 /doc/coding-style
parent67aa2eb7cd9ebbb08e2247c124f3947cb526136e (diff)
downloadkrb5-5dbe29f820c8da6a2d9579a4e8329328dcac32a1.zip
krb5-5dbe29f820c8da6a2d9579a4e8329328dcac32a1.tar.gz
krb5-5dbe29f820c8da6a2d9579a4e8329328dcac32a1.tar.bz2
no c++-style comments
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18605 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'doc/coding-style')
-rw-r--r--doc/coding-style3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/coding-style b/doc/coding-style
index 87a918f..e4c9996 100644
--- a/doc/coding-style
+++ b/doc/coding-style
@@ -101,6 +101,9 @@ the c-hanging-comment-starter-p and the c-hanging-comment-ender-p
variables to nil. This will be done by the tentative "krb5" style for
the emacs cc-mode.
+Since we are mostly aiming for C '89 compatibility, don't use "//"
+comments.
+
Spaces go after keywords, but not after function names. Do not,
however, put a space after sizeof. Don't put a space after a cast
operator, either. Spaces also do not go before parentheses that are