extra, modification_hooks, db: move get_variable_from_key() to db
commit9c2faa599bd066d2a08cc00af8b7de4b5aa63e16
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 28 Jan 2013 20:22:28 +0000 (28 23:22 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 28 Jan 2013 20:22:28 +0000 (28 23:22 +0300)
tree7dfcc19f0483b7a863d45145ed156b8bc86831c9
parenta4b4660ee006e43a17fbb19d8ef68123b6c45d28
extra, modification_hooks, db: move get_variable_from_key() to db

This was duplicated in smatch_extra.c and smatch_modification_hooks.c.  I
guess it fits best in smatch_db.c because the "key" comes from the
database.

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