diff options
| author | Ben Pfaff <blp@nicira.com> | 2014-06-24 11:44:16 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2014-07-16 09:15:43 -0700 |
| commit | 71000af63ee4476f7bf8d96271a2953ac9b3e1f1 (patch) | |
| tree | 2f89aa0ff435ea92148150b105de30115566256a /CodingStyle | |
| parent | 58df55ce45ca98f8ddfb8f079254cd0caa5284c0 (diff) | |
| download | openvswitch-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>
Diffstat (limited to 'CodingStyle')
| -rw-r--r-- | CodingStyle | 7 |
1 files changed, 7 insertions, 0 deletions
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. |
