db: handle global function assignments
commit7e062a37ee183b9ec6506954eb4273b6ee3b2726
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 3 Dec 2012 11:14:58 +0000 (3 14:14 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 3 Dec 2012 11:14:58 +0000 (3 14:14 +0300)
tree311870017de243061947f99c2d80d0c7eb54fae1
parent1c3d76430829b3f16b2ede2abf9db949a449870e
db: handle global function assignments

There is a GLOBAL_ASSIGNMENT_HOOK.  We may as well use it here.

Also I threw in a strip_expr() in the function assignment code as a bonus
change.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_db.c