debug: move __print_states() to smatch_states.c
commit624ed544f753aa4d88a6ac87efad479203d37c72
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Feb 2020 13:45:29 +0000 (11 16:45 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Feb 2020 13:45:29 +0000 (11 16:45 +0300)
treea3547c09c4383b5b5cf5a3c6ef0e7d46b071c0f4
parentae120ec31fb359352f4208811e4d5b7402af8f99
debug: move __print_states() to smatch_states.c

This is just nice for debugging because you can add something like:

if (local_debug)
__print_states("check_locking");

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