function_hash: make it easier to handle a file with a list of strings
commit6f5c308c6a1d3b3f35243e1944101560ff18e47e
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 11 Jun 2012 10:29:49 +0000 (11 13:29 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 11 Jun 2012 10:29:49 +0000 (11 13:29 +0300)
treed3ef4f86448eadba27ceb10683c3ccd0fdeb8ace
parentf5a081ff1516ad5b3e00d9d0f3c888ff0cf07687
function_hash: make it easier to handle a file with a list of strings

One thing that we often do is store a list of strings and then check if
a macro name is in the list of strings.

This sets up some helper macros so we don't have to manually register the
file from the smatch_data/ directory every time.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_function_hashtable.h