mirror of
https://github.com/danog/ir.git
synced 2024-11-26 12:24:56 +01:00
[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:
parent
42882d18f1
commit
a2d1d57a80
@ -16,7 +16,7 @@ typedef struct _ir_strtab_bucket {
|
|||||||
ir_ref val;
|
ir_ref val;
|
||||||
} ir_strtab_bucket;
|
} 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;
|
size_t i;
|
||||||
uint32_t h = 5381;
|
uint32_t h = 5381;
|
||||||
|
Loading…
Reference in New Issue
Block a user