summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r--mbbsd/stuff.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index 4e5fd8cb..19049c8b 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -961,6 +961,12 @@ StringHash(const char *s)
return fnv1a_32_strcase(s, FNV1_32_INIT);
}
+unsigned
+DBCS_StringHash(const char *s)
+{
+ return fnv1a_32_dbcs_strcase(s, FNV1_32_INIT);
+}
+
inline int *intbsearch(int key, const int *base0, int nmemb)
{
/* §ï¦Û /usr/src/lib/libc/stdlib/bsearch.c ,