From 5dbe29f820c8da6a2d9579a4e8329328dcac32a1 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 22 Sep 2006 19:24:44 +0000 Subject: [PATCH] no c++-style comments git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18605 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/coding-style | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.26.2