From ce9317bb464b586150e04cb37487c872590ca425 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Mon, 8 May 2017 12:13:27 +0300 Subject: [PATCH] err_ptr_deref: make err_ptr_min/max static I want to re-use these names in other checks. Signed-off-by: Dan Carpenter --- check_err_ptr_deref.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_err_ptr_deref.c b/check_err_ptr_deref.c index 34877a28..1e9bcfa9 100644 --- a/check_err_ptr_deref.c +++ b/check_err_ptr_deref.c @@ -24,12 +24,12 @@ static int my_id; STATE(err_ptr); STATE(checked); -sval_t err_ptr_min = { +static sval_t err_ptr_min = { .type = &int_ctype, {.value = -4095}, }; -sval_t err_ptr_max = { +static sval_t err_ptr_max = { .type = &int_ctype, {.value = -1}, }; -- 2.11.4.GIT