From 4d983e54b51276f21a6740f36ca6c438dced8c2f Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 28 May 2021 21:37:13 -0500 Subject: Initial struct prototype code. Also add a number of cfunctions for manipulating structs with prototypes. --- tools/format.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/format.sh b/tools/format.sh index f5b4a88c..37e03f26 100755 --- a/tools/format.sh +++ b/tools/format.sh @@ -3,8 +3,11 @@ # Format all code with astyle STYLEOPTS="--style=attach --indent-switches --convert-tabs \ - --align-pointer=name --pad-header --pad-oper --unpad-paren --indent-labels" + --align-pointer=name --pad-header --pad-oper --unpad-paren --indent-labels --formatted" astyle $STYLEOPTS */*.c astyle $STYLEOPTS */*/*.c astyle $STYLEOPTS */*/*.h +rm -f */*.c.orig +rm -f */*/*.c.orig +rm -f */*/*.h.orig -- cgit v1.2.3