aboutsummaryrefslogblamecommitdiffstats
path: root/funcname1.awk
blob: 343cf485e8d1cd25fce6288d404e1119fc260a4f (plain) (tree)
1
2
3
4
5
6
7
8
9
10








                                       
BEGIN { n=0 }
/^#/ {next}
{
  if (cmd[$2] == "") {
    print "#define FUNCNAME_" $2 " " n;
    cmd[$2] = n;
  }
  n++;
}