[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 <tao.su@intel.com>
This commit is contained in:
Tony Su 2023-05-09 10:22:31 +08:00
parent 42882d18f1
commit a2d1d57a80

View File

@ -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;