From 1858793bd9a92aa1021fbc609557cf1c9c2c7270 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 2 Sep 2017 09:58:51 +0200 Subject: doc/style(9): only mention C11 as the C specification in use --- doc/style.9.txt | 11 +++++------ 1 file 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 -- cgit v1.2.3