From 21d2dfc80bfd0538dea70c1cecf93b44dc0055e9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 21 Oct 2018 17:21:52 -0600 Subject: [PATCH] Trivial update to coding standard document. --- Documentation/NuttXCCodingStandard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/NuttXCCodingStandard.html b/Documentation/NuttXCCodingStandard.html index 4740cc58e8..270b036a04 100644 --- a/Documentation/NuttXCCodingStandard.html +++ b/Documentation/NuttXCCodingStandard.html @@ -259,7 +259,7 @@

1.2 Lines

Line Endings. - Files should be formatted with \n as the line ending (Unix-style line endings), not \r\n (Windows line endings). + Files should be formatted with the newline character (\n) as the line ending (Unix-style line endings) and specifically not the carriage return, newline sequence (\r\n) used with Windows-style line endings. There should be no extra whitespace at the end of the line. In addition, all text files should end in a single newline (\n). This avoids the "No newline at end of file" warning generated by certain tools.