apply some coding style with astyle

This commit is contained in:
Markus Teich 2016-05-17 22:50:38 +02:00
parent 5fc3e848ce
commit 5b885c1e62
2 changed files with 34 additions and 19 deletions

15
.astylerc Normal file
View File

@ -0,0 +1,15 @@
--mode=c
--style=bsd # brackets on their own line
--indent=tab # tabs for indentation, spaces for alignment
--min-conditional-indent=0 # align continuation lines to the opening bracket
--max-instatement-indent=80 # allow to use a lot of spaces for alignment
--pad-oper # operators + have - spaces
--pad-first-paren-out # space before (
--align-pointer=name # char *name