diff options
-rwxr-xr-x | dumpsetups | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 '}' |