From 25c83b47df5ba2528dd425a5f97136539d8d3d10 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 30 Oct 2003 13:52:10 +0000 Subject: [PATCH] Add comment. --- lib/hash-pjw.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/hash-pjw.h b/lib/hash-pjw.h index b2a0994943..5847a25280 100644 --- a/lib/hash-pjw.h +++ b/lib/hash-pjw.h @@ -18,4 +18,8 @@ #include -size_t hash_pjw (void const *x, size_t tablesize); +/* Compute a hash code for a NUL-terminated string starting at X, + and return the hash code modulo TABLESIZE. + The result is platform dependent: it depends on the size of the 'size_t' + type and on the signedness of the 'char' type. */ +extern size_t hash_pjw (void const *x, size_t tablesize); -- 2.30.2