extra: export get_other_name_sym()
commit0eafe88f6a4decbc8233c16c8114fb6e35b2a4f7
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 2 Jun 2016 14:27:49 +0000 (2 17:27 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 2 Jun 2016 14:27:49 +0000 (2 17:27 +0300)
tree129a7f2acfdbe230cfd5eb44e8d139699c92b0f7
parentc2f4a0890adb4e703a494d3393c41c5dc4fa2c32
extra: export get_other_name_sym()

This is kind of a handy function when you are building the DB.  This is
already built into the smatch_param_*.c files because they use smatch
extra modification hooks.  But for check_locking sometimes people do
lock(param->foo->bar->lock) followed by an unlock(bar->lock);.  It looks
different but it's the same variable.

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