From: Ken Raeburn Date: Fri, 22 Sep 2006 19:24:44 +0000 (+0000) Subject: no c++-style comments X-Git-Tag: krb5-1.6-alpha1~126 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5dbe29f820c8da6a2d9579a4e8329328dcac32a1;p=krb5.git no c++-style comments git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18605 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/doc/coding-style b/doc/coding-style index 87a918f64..e4c99967a 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