Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys In fnv_64_str(), replace u_register_t (which NetBSD ...
details: https://anonhg.NetBSD.org/src/rev/b075a66b022a
branches: trunk
changeset: 517785:b075a66b022a
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Nov 19 05:29:02 2001 +0000
description:
In fnv_64_str(), replace u_register_t (which NetBSD doesn't have) with
Fnv32_t, since it's only going to store an 8 bit number anyway.
diffstat:
sys/sys/fnv_hash.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e414f8901577 -r b075a66b022a sys/sys/fnv_hash.h
--- a/sys/sys/fnv_hash.h Mon Nov 19 05:25:22 2001 +0000
+++ b/sys/sys/fnv_hash.h Mon Nov 19 05:29:02 2001 +0000
@@ -58,7 +58,7 @@
fnv_64_str(const char *str, Fnv64_t hval)
{
const u_int8_t *s = (const u_int8_t *)str;
- u_register_t c; /* 32 bit on i386, 64 bit on alpha,ia64 */
+ Fnv32_t c;
while ((c = *s++) != 0) {
hval *= FNV_64_PRIME;
Home |
Main Index |
Thread Index |
Old Index