db: use "extern" instead of the file name for globals in data_info
commitac9f613401a6c15d78ba59723329b7a17ef57750
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jan 2017 12:22:23 +0000 (20 15:22 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jan 2017 12:22:23 +0000 (20 15:22 +0300)
treefa0952aba21decd1064d7887e7a3626240d8e62a
parentde87f8fc09bb388af04d450ba200923812e0087e
db: use "extern" instead of the file name for globals in data_info

The idea here is that we're storing all the possible values that we can
have in a variable.  Handle globals differently because it's not tied to
the filename where they are modified.

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