summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-04-01 16:10:55 +0200
committerDavid Sommerseth <davids@redhat.com>2009-04-29 11:22:11 +0200
commit805dced32cbb2eef1f2b639100faef3bb0482e29 (patch)
tree86be074affb499ec1ab5f04d75491281d7986255 /utils
parent764717bd15eeaa0c6cbed39a8b674dad406e57f9 (diff)
downloadpython-dmidecode-805dced32cbb2eef1f2b639100faef3bb0482e29.tar.gz
python-dmidecode-805dced32cbb2eef1f2b639100faef3bb0482e29.tar.xz
python-dmidecode-805dced32cbb2eef1f2b639100faef3bb0482e29.zip
Added indenting tool for C code and reindented *.[ch] files
Diffstat (limited to 'utils')
-rwxr-xr-xutils/c-code-indent3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/c-code-indent b/utils/c-code-indent
new file mode 100755
index 0000000..0d5381d
--- /dev/null
+++ b/utils/c-code-indent
@@ -0,0 +1,3 @@
+#!/bin/sh
+PARAM="-npro -kr -nut -bbb -bad -i8 -ts8 -sob -l100 -ss -ncs -cp1 -sc -nsaf -nsai -nsaw -nbbo -hnl -br -ce"
+indent $PARAM "$@"