db: move get_param_name() to central location
commit2150401a41b84c8a2295d796952350da43e5d36d
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 16 May 2013 08:33:39 +0000 (16 11:33 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 16 May 2013 08:33:39 +0000 (16 11:33 +0300)
tree27df830bcd341456b92b00be0b618cf957b8088b
parent074eaed88f466d4648df965778839a52baefb4b4
db: move get_param_name() to central location

A couple functions have their own implementation of get_param_name() so
I have moved this to a central shared location.  smatch_param_set.c doesn't
deal with the actual parameters only with the pointed at memory so I had
to check for that.

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