db: only allow functions to be saved to one function pointer
commit85a623a9d42b4f50950b392973c77b94ee48fe39
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Feb 2013 11:51:08 +0000 (19 14:51 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Feb 2013 11:51:08 +0000 (19 14:51 +0300)
tree85197e19fc6fc5206872db2dbfd7a56e1a5b207b
parentc2987d771099fe6be9f82f50863121c60e85f5f3
db: only allow functions to be saved to one function pointer

In the old code, if the a function was saved to more than one function
pointer then only the first was used.  I've changed it to give up in that
situation.

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