summaryrefslogtreecommitdiff
path: root/cformat.sh
blob: 1c0727d4a785f12041c834ad91e1845c138d64d0 (plain)
1
2
3
4
#!/bin/sh

ecrustify -c ./ecrustify.cfg --replace $@
sed -i 's/FOREACH (/FOREACH(/g;s/FREE (/FREE(/g;s/FOREACH_SAFE (/FOREACH_SAFE(/g' $@