From 71000af63ee4476f7bf8d96271a2953ac9b3e1f1 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 24 Jun 2014 11:44:16 -0700 Subject: CodingStyle: Add suggested GNU indent options. Suggested-by: Gerald Rogers Signed-off-by: Ben Pfaff Acked-by: Andy Zhou --- CodingStyle | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CodingStyle') 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. -- cgit v1.2.1