fix show_typename()
commit64b65ec931369939014995e65b682effa7c0a654
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 22 Feb 2008 23:05:25 +0000 (22 23:05 +0000)
committerJosh Triplett <josh@freedesktop.org>
Thu, 3 Apr 2008 20:43:07 +0000 (3 13:43 -0700)
treeb23b7164f4a9caaf32533a20a670b799b133e7ef
parent8ad1087c5947c49dafb7566df32c86b1eb51ccc4
fix show_typename()

* postfix stuff had been applied in wrong order (e.g. int a[2][3] generated
int [addressable][toplevel] a[3][2])
* after fixing that, we've no need for recursion anymore, a bunch of arguments
go away and turn into local variables and we get an easy way to get rid of
bogus space in the show_typename() result.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[Josh: fix test suite to match]
Signed-off-by: Josh Triplett <josh@kernel.org>
evaluate.c
show-parse.c
validation/compare-null-to-int.c
validation/cond_expr.c