update makefile
[musl-tables] / tab_c11.sh
index c5e7159..90c7249 100755 (executable)
@@ -9,7 +9,7 @@ BEGIN {
        hash = $2
        getline
 
-       commit = "<h4>commit</h4><p>commit <a href=\"http://git.etalabs.net/cgi-bin/cgit.cgi?url=musl/commit/&amp;h=" hash "\">" hash "</a>"
+       commit = "<h4>commit</h4><p>commit <a href=\"http://git.musl-libc.org/cgit/musl/commit/?id=" hash "\">" hash "</a>"
        while (getline == 1)
                commit = commit "<br>" $0
 
@@ -25,7 +25,7 @@ BEGIN {
                if ($2 ~ /bits\//)
                        s = $3 " "
                else
-                       s = "<a href=\"http://git.etalabs.net/cgi-bin/cgit.cgi?url=musl/tree/include/" $2 "#n" $4 "\">" $3 "</a> "
+                       s = "<a href=\"http://git.musl-libc.org/cgit/musl/tree/include/" $2 "#n" $4 "\">" $3 "</a> "
                kind[$1] = kind[$1] $3
                kindstr[$1] = kindstr[$1] s
        }
@@ -50,6 +50,7 @@ BEGIN {
        legend = legend "<li>p - function prototype"
        legend = legend "<li>x - external and forward variable declaration"
        legend = legend "</ul></ul>"
+       legend = legend "<p>(Annex K apis are excluded: -D__STDC_WANT_LIB_EXT1__=0 is assumed)"
 
        print "<h3>musl vs c11 api</h3>"
        print commit
@@ -63,7 +64,7 @@ BEGIN {
                } else if (sym[$1]) {
                        s = s "nodecl"
                        nodecl++
-               } else if (kind[$1] ~ /[dtsu]/) {
+               } else if (kind[$1] ~ /[dtsue]/) {
                        s = s "&#160;"
                } else if (kind[$1]) {
                        s = s "nosym"