summaryrefslogtreecommitdiff
path: root/doc/README.CODING_STYLE
diff options
context:
space:
mode:
Diffstat (limited to 'doc/README.CODING_STYLE')
-rw-r--r--doc/README.CODING_STYLE7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/README.CODING_STYLE b/doc/README.CODING_STYLE
index c454cf3ce7..56441d6a64 100644
--- a/doc/README.CODING_STYLE
+++ b/doc/README.CODING_STYLE
@@ -17,6 +17,13 @@ The rules here are not always used, although we try to stick to them.
to the main TLS protocol implementation.
+*** C dialect:
+ While parts of GnuTLS were written in older dialects, new code
+ in GnuTLS are expected to conform to C99. Exceptions could be made
+ for C99 features that are not supported in popular platforms on a
+ case by case basis.
+
+
*** Indentation style:
In general, use the Linux coding style. You may indent the source
using GNU indent, e.g. "indent -linux *.c".