version 1.13, 2009/09/16 20:49:06 |
version 1.14, 2009/09/17 07:41:28 |
|
|
|
|
#include "libman.h" |
#include "libman.h" |
|
|
|
|
static u_char table[26 * 6]; |
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 |
void |
man_hash_init(void) |
man_hash_init(void) |
{ |
{ |
Line 48 man_hash_init(void) |
|
Line 50 man_hash_init(void) |
|
assert(j < 6); |
assert(j < 6); |
} |
} |
} |
} |
|
|
|
|
int |
int |
man_hash_find(const char *tmp) |
man_hash_find(const char *tmp) |