From 1a5b79a37f1ac518e926c6fcab633faabb748578 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Tue, 10 Sep 2013 15:46:44 +0300 Subject: [PATCH] user_data: make a function static tag_as_user_data() isn't used outside this file. Signed-off-by: Dan Carpenter --- check_user_data.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/check_user_data.c b/check_user_data.c index 0127d26e..35b6ee4f 100644 --- a/check_user_data.c +++ b/check_user_data.c @@ -18,8 +18,6 @@ #include "smatch_slist.h" #include "smatch_extra.h" -void tag_as_user_data(struct expression *expr); - static int my_id; STATE(capped); @@ -397,7 +395,7 @@ static void tag_base_type(struct expression *expr) set_state_expr(my_id, expr, &user_data_set); } -void tag_as_user_data(struct expression *expr) +static void tag_as_user_data(struct expression *expr) { struct symbol *type; -- 2.11.4.GIT