aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdumpsetups3
1 files changed, 2 insertions, 1 deletions
diff --git a/dumpsetups b/dumpsetups
index 10043f0..53cca0b 100755
--- a/dumpsetups
+++ b/dumpsetups
@@ -9,7 +9,8 @@ echo '// Do not edit this file, run "make" instead.
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
'
awk '/void .*_setup\(void\)$/&&!/'$LIB'/{print $0";"}' *.c
-echo -e '\nvoid all'$LIB's_setup(void)'
+echo ""
+echo 'void all'$LIB's_setup(void)'
echo '{'
awk -F '[ (]' '/void .*_setup\(void\)$/&&!/'$LIB'/{print " "$2"();"}' *.c
echo '}'