diff options
author | Richard Braun <rbraun@sceen.net> | 2017-09-02 09:58:51 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-09-02 15:29:41 +0200 |
commit | 1858793bd9a92aa1021fbc609557cf1c9c2c7270 (patch) | |
tree | 444d462cd18f45562d61f02abbf8469369a4334b | |
parent | d18d0e85596f90e0bd597b33d58209d0b3973c95 (diff) |
doc/style(9): only mention C11 as the C specification in use
-rw-r--r-- | doc/style.9.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/style.9.txt b/doc/style.9.txt index e479c8ca..846a3e46 100644 --- a/doc/style.9.txt +++ b/doc/style.9.txt @@ -62,12 +62,11 @@ LANGUAGES --------- The kernel is mostly written in the C programming language, conforming -to ISO/IEC 9899:1999 (C99) and slowly transitioning to ISO/IEC 9899:2011 -(C11), with GNU extensions. While many GNU extensions are used, nested -functions are forbidden. They are considered too specific to the GCC -compiler. Note that X15 can currently be built with both GCC and Clang, -and the latter has no support for nested functions. Also note that the -kernel only expects the freestanding C environment from the compiler. +to ISO/IEC 9899:2011 (C11), with GNU extensions. While many GNU extensions +are used, nested functions are forbidden. They are considered too specific +to the GCC compiler. Note that X15 can currently be built with both GCC +and Clang, and the latter has no support for nested functions. Also note +that the kernel only expects the freestanding C environment from the compiler. Since X15 is low level system software, processor-specific assembly is inevitable. Developers should always refrain from writing assembly code |