diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-20 16:46:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-20 16:46:04 +0000 |
commit | f45f622c8ebfa925e3b5340d31a0b4f9380ff675 (patch) | |
tree | 30c393373586e5d6d990ecf3f7c77cb6d9a105d9 /man_hash.c | |
parent | c64d9ad4033a749b71419ced2dc27c0b4a787818 (diff) | |
download | mandoc-f45f622c8ebfa925e3b5340d31a0b4f9380ff675.tar.gz |
KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */,
remove trailing whitespace and blanks before tabs, improve some indenting;
no functional change
Diffstat (limited to 'man_hash.c')
-rw-r--r-- | man_hash.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -48,6 +48,7 @@ */ static unsigned char table[26 * HASH_DEPTH]; + /* * XXX - this hash has global scope, so if intended for use as a library * with multiple callers, it will need re-invocation protection. @@ -59,8 +60,7 @@ man_hash_init(void) memset(table, UCHAR_MAX, sizeof(table)); - assert(/* LINTED */ - MAN_MAX < UCHAR_MAX); + assert(MAN_MAX < UCHAR_MAX); for (i = 0; i < (int)MAN_MAX; i++) { x = man_macronames[i][0]; @@ -79,7 +79,6 @@ man_hash_init(void) } } - enum mant man_hash_find(const char *tmp) { |