[ovs-dev] [PATCH] CodingStyle: Add suggested GNU indent options.
Ben Pfaff
blp at nicira.com
Tue Jun 24 18:45:26 UTC 2014
Suggested-by: Gerald Rogers <gerald.rogers at intel.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
AUTHORS | 1 +
CodingStyle | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/AUTHORS b/AUTHORS
index 64ede54..0a6c61a 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -186,6 +186,7 @@ Eric Lopez elopez at nicira.com
Frido Roose fr.roose at gmail.com
Gaetano Catalli gaetano.catalli at gmail.com
George Shuklin amarao at desunote.ru
+Gerald Rogers gerald.rogers at intel.com
Ghanem Bahri bahri.ghanem at gmail.com
Giuseppe de Candia giuseppe.decandia at gmail.com
Gordon Good ggood at nicira.com
diff --git a/CodingStyle b/CodingStyle
index 0ba0366..c00fc3b 100644
--- a/CodingStyle
+++ b/CodingStyle
@@ -5,6 +5,13 @@ This file describes the coding style used in most C files in the Open
vSwitch distribution. However, Linux kernel code datapath directory
follows the Linux kernel's established coding conventions.
+The following GNU indent options approximate this style:
+
+ -npro -bad -bap -bbb -br -blf -brs -cdw -ce -fca -cli0 -npcs -i4 -l79 \
+ -lc79 -nbfda -nut -saf -sai -saw -sbi4 -sc -sob -st -ncdb -pi4 -cs -bs \
+ -di1 -lp -il0 -hnl
+
+
BASICS
Limit lines to 79 characters.
--
1.7.10.4
More information about the dev
mailing list