db: pass the return_id to the struct member callbacks
commit6c5e6b4c5f6b0728a40a288ed4d539bca85cc8ff
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 5 Dec 2012 17:55:05 +0000 (5 20:55 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 5 Dec 2012 17:55:05 +0000 (5 20:55 +0300)
treeb04575bcf15cd32458e997126dae5f2aed01a86c
parent5f81714d5963a170160d224100585b3d17775737
db: pass the return_id to the struct member callbacks

I want to have more than one return id per return.  So I want to remove the
calls to get_return_id().  This patch moves one call from smatch_extra.c
and into smatch_db.c.

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