diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-17 07:41:28 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-17 07:41:28 +0000 |
commit | 06166fb5422a88c888ec7c043633b2fac84766aa (patch) | |
tree | 55137418db8558815c66dc101e15948c4b71fdfd /mdoc_hash.c | |
parent | 16615cc0fed4c4eb818ce562c0cb3d225577a225 (diff) | |
download | mandoc-06166fb5422a88c888ec7c043633b2fac84766aa.tar.gz |
ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding).
More html work.
Diffstat (limited to 'mdoc_hash.c')
-rw-r--r-- | mdoc_hash.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mdoc_hash.c b/mdoc_hash.c index 4088e79a..be2d457a 100644 --- a/mdoc_hash.c +++ b/mdoc_hash.c @@ -27,7 +27,10 @@ static u_char table[27 * 12]; - +/* + * XXX - this hash has global scope, so if intended for use as a library + * with multiple callers, it will need re-invocation protection. + */ void mdoc_hash_init(void) { @@ -54,7 +57,6 @@ mdoc_hash_init(void) } } - int mdoc_hash_find(const char *p) { @@ -84,4 +86,3 @@ mdoc_hash_find(const char *p) return(MDOC_MAX); } - |