X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=makeall.sh;fp=makeall.sh;h=012f2e36651a5890b203048e96a4fa9ae5b8cb19;hb=ad7a5bacd4a21a26a14d7835422aa4f31a0330d4;hp=b803b6cc8263c70ce21cdd69c4233919ae089d3e;hpb=6f55860d76696016440c2fee73673fe540468928;p=musl-tables diff --git a/makeall.sh b/makeall.sh index b803b6c..012f2e3 100755 --- a/makeall.sh +++ b/makeall.sh @@ -50,16 +50,7 @@ $2 ~ /inc posix/ && $4 != $8 { } $2 ~ /inc posix/ && $7 != $10 && $5 == "p" { # different prototype - - # todo: move to type.sh - gsub(/restrict const/, "const", $10) - gsub(/restrict/, "", $10) - gsub(/\[[0-9]+\]/, "[]", $10) - gsub(/unsigned int/, "unsigned", $7) - gsub(/long int/, "long", $7) - - if ($7 != $10) - print "proto\t" $1 "\t" $4 "\t" $7 "\t" $10 "\t" $6 "\t" $9 + print "proto\t" $1 "\t" $4 "\t" $7 "\t" $10 "\t" $6 "\t" $9 } ' data/musl.all >data/musl.problems