From cc1f92c6da69ad40f566c85188b77ac632e6c9db Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Thu, 6 Mar 2014 12:59:31 +0300 Subject: [PATCH] debug: change __smatch_cur_slist() to __smatch_cur_stree() Signed-off-by: Dan Carpenter --- check_debug.c | 4 ++-- check_debug.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/check_debug.c b/check_debug.c index 91621b31..b13df0b8 100644 --- a/check_debug.c +++ b/check_debug.c @@ -31,7 +31,7 @@ static void match_all_values(const char *fn, struct expression *expr, void *info free_stree(&stree); } -static void match_cur_slist(const char *fn, struct expression *expr, void *info) +static void match_cur_stree(const char *fn, struct expression *expr, void *info) { __print_cur_stree(); } @@ -465,7 +465,7 @@ void check_debug(int id) add_function_hook("__smatch_sval_info", &match_sval_info, NULL); add_function_hook("__smatch_member_name", &match_member_name, NULL); add_function_hook("__smatch_possible", &match_possible, NULL); - add_function_hook("__smatch_cur_slist", &match_cur_slist, NULL); + add_function_hook("__smatch_cur_stree", &match_cur_stree, NULL); add_function_hook("__smatch_strlen", &match_strlen, NULL); add_function_hook("__smatch_buf_size", &match_buf_size, NULL); add_function_hook("__smatch_buf_size_rl", &match_buf_size_rl, NULL); diff --git a/check_debug.h b/check_debug.h index 8d588185..6250825b 100644 --- a/check_debug.h +++ b/check_debug.h @@ -3,7 +3,7 @@ static inline void __smatch_about(long var){} -static inline void __smatch_cur_slist(void){} +static inline void __smatch_cur_stree(void){} static inline void __smatch_all_values(void){} static inline void __smatch_state(const char *check_name, const char *state_name){} static inline void __smatch_states(const char *check_name){} -- 2.11.4.GIT