X-Git-Url: http://nsz.repo.hu/git/?p=musl-tables;a=blobdiff_plain;f=tab_c99.sh;h=3974f24a1299476250f80ab44033a33204995753;hp=80001c276b4b2eac539dd9428408ad421fd433c2;hb=HEAD;hpb=a4341ee7277caff8b3334c87541f6d093d225b86 diff --git a/tab_c99.sh b/tab_c99.sh index 80001c2..3974f24 100755 --- a/tab_c99.sh +++ b/tab_c99.sh @@ -1,7 +1,7 @@ #!/bin/sh export LC_ALL=C -MUSL=../musl +MUSL=${MUSL:-../musl} ( cd $MUSL; git log -n1 ) | awk ' BEGIN { @@ -9,7 +9,7 @@ BEGIN { hash = $2 getline - commit = "

commit

commit " hash "" + commit = "

commit

commit " hash "" while (getline == 1) commit = commit "
" $0 @@ -25,7 +25,7 @@ BEGIN { if ($2 ~ /bits\//) s = $3 " " else - s = "" $3 " " + s = "" $3 " " kind[$1] = kind[$1] $3 kindstr[$1] = kindstr[$1] s } @@ -36,17 +36,10 @@ BEGIN { legend = legend "

  • nodecl - symbol is in libc.a but not declared in a public header" legend = legend "
  • missing - neither in include files (see decl) nor in libc.a (see sym)" legend = legend "
  • sym: external symbol kind as found by `nm libc.a` (symbol kind only reported once)
  • decl: kind of declaration as found by `ctags -R include` (every occurance is reported, arch specific definitions are not linked)