[patch 1/2] Change definition of SYM_HOOK in smatch_hook.c
commit50ef7204070490f18a8d32c9071386771ce0dcaa
authorDan Carpenter <error27@gmail.com>
Tue, 15 Dec 2009 19:44:07 +0000 (15 21:44 +0200)
committerDan Carpenter <error27@gmail.com>
Tue, 15 Dec 2009 19:44:07 +0000 (15 21:44 +0200)
treedb22d8776fd7b0461d900e7f5540dec3ba76d74c
parenta8f11f7f8ef8981b3a4791c74bda5f46f2bcca97
[patch 1/2] Change definition of SYM_HOOK in smatch_hook.c

I want to change SYM_HOOK to pass an expression.  It's not currently used
by any checks.

In smatch_hooks.c SYM_HOOK means it is passing a symbol pointer so I
replaced SYM_HOOK with SYMBOL_PTR.  Also did the same for EXPR_HOOK and
STMT_HOOK.

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch_hooks.c