summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-02 11:16:19 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-02 11:21:54 +0200
commit2185676716397f3d4044456c522655618c9ee4e5 (patch)
tree3a90179476bda9a3576058277f23477d01945a0f /doc
parent4f722fd6cb3a907a951b1d905ccbe98c82ff2be4 (diff)
downloadgnutls-2185676716397f3d4044456c522655618c9ee4e5.tar.gz
README.CODING_STYLE: set C99 as the C dialect of choice
Diffstat (limited to 'doc')
-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".