From a2d1d57a80863c0a0427ce5f2136168ad371ad70 Mon Sep 17 00:00:00 2001 From: Tony Su Date: Tue, 9 May 2023 10:22:31 +0800 Subject: [PATCH] [ir_strtab]: Make ir_str_hash() static This function is not used outside ir_strtab.c source file, hence make it static. Signed-off-by: Tony Su --- ir_strtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir_strtab.c b/ir_strtab.c index 872ccf4..c2b8c30 100644 --- a/ir_strtab.c +++ b/ir_strtab.c @@ -16,7 +16,7 @@ typedef struct _ir_strtab_bucket { ir_ref val; } ir_strtab_bucket; -uint32_t ir_str_hash(const char *str, size_t len) +static uint32_t ir_str_hash(const char *str, size_t len) { size_t i; uint32_t h = 5381;