From 3f648213cd789e9c307f834875f09da5e1d86ab1 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 17 Sep 2009 07:41:28 +0000 Subject: ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding). More html work. --- man_hash.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'man_hash.c') diff --git a/man_hash.c b/man_hash.c index 276320cb..2616b82c 100644 --- a/man_hash.c +++ b/man_hash.c @@ -1,4 +1,4 @@ -/* $Id: man_hash.c,v 1.13 2009/09/16 20:49:06 kristaps Exp $ */ +/* $Id: man_hash.c,v 1.14 2009/09/17 07:41:28 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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) { -- cgit v1.2.3