diff options
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) { |