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 /man_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 'man_hash.c')
-rw-r--r-- | man_hash.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) { |