db: add function_signature to the INTERNAL entries
commitd55bcd3743f012fd1228944554da958bf29f9624
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Sep 2017 14:18:53 +0000 (19 17:18 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Sep 2017 14:18:53 +0000 (19 17:18 +0300)
tree94989577cb817912e768728c38b748d183deab53
parentf6770febacc0c2fa4a0c5f7818ad0f5462f05a3f
db: add function_signature to the INTERNAL entries

The problem here is that you can have a two function pointers like this
and:

(struct struct_name)->function_name(int, char *);
(struct struct_name)->function_name(char *);

The struct name and the member names are the same (they are defined in the
.c file instead of the .h file) but they take different arguments.  This
happens because code is copy and pasted so the names are identical but
later the parameters are updated.  We can filter based on the arguments.

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