diff --git a/tools/mksymtab.sh b/tools/mksymtab.sh index 811a886c5..064907b40 100755 --- a/tools/mksymtab.sh +++ b/tools/mksymtab.sh @@ -72,7 +72,8 @@ echo "#include " echo "#include " echo "" -for var in $varlist; do +for string in $varlist; do + var=`echo $string | sed -e "s/\"//g"` echo "extern void *${var};" done @@ -90,7 +91,8 @@ else fi echo "{" -for var in $varlist; do +for string in $varlist; do + var=`echo $string | sed -e "s/\"//g"` echo " {\"${var}\", &${var}}," done