user_data: make a function static
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 10 Sep 2013 12:46:44 +0000 (10 15:46 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 10 Sep 2013 12:46:44 +0000 (10 15:46 +0300)
tag_as_user_data() isn't used outside this file.

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

index 0127d26..35b6ee4 100644 (file)
@@ -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;