summaryrefslogtreecommitdiff
path: root/winhelp.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2001-12-03 17:36:28 +0000
committerSimon Tatham <anakin@pobox.com>2001-12-03 17:36:28 +0000
commit5a5144c182a3d4436656150225fb9721711a62e4 (patch)
treeee0c1392a2452bbe200e8b121c86dfd6fad3f696 /winhelp.c
parenta299f41baa1242dea65fcddfc69b85286dbc2490 (diff)
downloadhalibut-5a5144c182a3d4436656150225fb9721711a62e4.zip
halibut-5a5144c182a3d4436656150225fb9721711a62e4.tar.gz
halibut-5a5144c182a3d4436656150225fb9721711a62e4.tar.bz2
halibut-5a5144c182a3d4436656150225fb9721711a62e4.tar.xz
Code cleanup
[originally from svn r1441]
Diffstat (limited to 'winhelp.c')
-rw-r--r--winhelp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/winhelp.c b/winhelp.c
index a5520da..40f6ce5 100644
--- a/winhelp.c
+++ b/winhelp.c
@@ -10,11 +10,6 @@
/*
* Still to do:
*
- * - Code cleanups: prototype whlp_{start,end}_hyperlink in the
- * header file. Also decide whether context_hash is going to be
- * externally visible or not; if it is, rename it to
- * whlp_something and put it in the header file, and if not,
- * make it static.
* - nonbreaking spaces and hyphens will be needed.
* - tabs, and tab stop settings in the paragraphinfo.
*
@@ -315,7 +310,7 @@ static int idxleaf(const void *av, unsigned char *outbuf)
* This is the code to compute the hash of a context name. Copied
* straight from Winterhoff's documentation.
*/
-unsigned long context_hash(char *context)
+static unsigned long context_hash(char *context)
{
signed char bytemapping[256] =
"\x00\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF"