[PATCH] de-anonymize typedefs
commitd0d20047fb01047beff2beb39c1f4286791196f7
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 14 Aug 2005 17:13:45 +0000 (14 21:13 +0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 14 Aug 2005 17:58:43 +0000 (14 10:58 -0700)
treeaaed2b73a428f3f98fdb07ca63ae35a5ccce8630
parent71c2abb492618b099883dd2e625edace98bc9996
[PATCH] de-anonymize typedefs

Code:
atomic_t v;
v.xxxx = 0;

without patch:
warning: no member 'xxxx' in struct <unnamed>

with patch:
warning: no member 'xxxx' in struct atomic_t

Actually I want this patch because I started the simple libsparse
client, and I don't see the simple way to resolve SYM_STRUCT's
name in typedef case.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
parse.c