From 22ccc2e2b85064b2e1eaa38d06232cba13a4cb27 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Fri, 4 Aug 2017 09:55:49 +0200 Subject: [PATCH] Start working on an astylerc for lwIP (not finished, don't use!) --- astylerc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 astylerc diff --git a/astylerc b/astylerc new file mode 100644 index 00000000..ffe4bd9a --- /dev/null +++ b/astylerc @@ -0,0 +1,24 @@ +# lwIP astyle formatting options + +# NOT FINISHED - DON'T USE + +# braces and indent +style=otbs +indent=spaces=2 +attach-extern-c +attach-closing-while +# indentation +indent-switches +indent-preproc-block +indent-preproc-define +max-continuation-indent=60 +# padding +pad-oper +pad-comma +pad-header +align-pointer=name +# formatting +break-one-line-headers +keep-one-line-blocks +# don't use "other options" (e.g. formatted) in this file +# send them as additional command line options