summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2014-06-24 11:44:16 -0700
committerBen Pfaff <blp@nicira.com>2014-07-16 09:15:43 -0700
commit71000af63ee4476f7bf8d96271a2953ac9b3e1f1 (patch)
tree2f89aa0ff435ea92148150b105de30115566256a
parent58df55ce45ca98f8ddfb8f079254cd0caa5284c0 (diff)
downloadopenvswitch-71000af63ee4476f7bf8d96271a2953ac9b3e1f1.tar.gz
CodingStyle: Add suggested GNU indent options.
Suggested-by: Gerald Rogers <gerald.rogers@intel.com> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Andy Zhou <azhou@nicira.com>
-rw-r--r--AUTHORS1
-rw-r--r--CodingStyle7
2 files changed, 8 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 12b739d6b..e4f30a6bf 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -186,6 +186,7 @@ Eric Lopez elopez@nicira.com
Frido Roose fr.roose@gmail.com
Gaetano Catalli gaetano.catalli@gmail.com
George Shuklin amarao@desunote.ru
+Gerald Rogers gerald.rogers@intel.com
Ghanem Bahri bahri.ghanem@gmail.com
Giuseppe de Candia giuseppe.decandia@gmail.com
Gordon Good ggood@nicira.com
diff --git a/CodingStyle b/CodingStyle
index 628f21f83..0df916874 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.