function_hooks: add helpers to register all the functions in a file
commit31a7bf2ab15e08bfcfdc6bb35b57dd00f16a8561
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 2 Nov 2020 18:40:27 +0000 (2 21:40 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 2 Nov 2020 18:40:27 +0000 (2 21:40 +0300)
tree2dc3da06fca48e0a55d2d56474b496e03c3f3046
parentcb74a9c41d296311b398ee3a2a059ab54defc10a
function_hooks: add helpers to register all the functions in a file

Quite a few files just load every function with the same hook.  Add a
helper function to make it easier.

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