kconfig: move strhash() to util.c as a global function
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 2 Feb 2024 15:58:22 +0000 (00:58 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 20 Feb 2024 11:36:15 +0000 (20:36 +0900)
commit7c4aa901bd9d7e95be95a5c888d026b3214bae05
tree02e90872df39357eb2823521b90c3d965f82defe
parenta6dac4002b88f0ad242ac20d9de86d11321ecf84
kconfig: move strhash() to util.c as a global function

Remove the 'static' qualifier from strhash() so that it can be accessed
from other files. Move it to util.c, which is a more appropriate location.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/lkc.h
scripts/kconfig/symbol.c
scripts/kconfig/util.c