summaryrefslogtreecommitdiffstats
path: root/man_hash.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-17 07:41:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-17 07:41:28 +0000
commit06166fb5422a88c888ec7c043633b2fac84766aa (patch)
tree55137418db8558815c66dc101e15948c4b71fdfd /man_hash.c
parent16615cc0fed4c4eb818ce562c0cb3d225577a225 (diff)
downloadmandoc-06166fb5422a88c888ec7c043633b2fac84766aa.tar.gz
ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding).
More html work.
Diffstat (limited to 'man_hash.c')
-rw-r--r--man_hash.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/man_hash.c b/man_hash.c
index 4d839d7d..6e9f2afb 100644
--- a/man_hash.c
+++ b/man_hash.c
@@ -21,10 +21,12 @@
#include "libman.h"
-
static u_char table[26 * 6];
-
+/*
+ * XXX - this hash has global scope, so if intended for use as a library
+ * with multiple callers, it will need re-invocation protection.
+ */
void
man_hash_init(void)
{
@@ -49,7 +51,6 @@ man_hash_init(void)
}
}
-
int
man_hash_find(const char *tmp)
{