Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add murmurhash2() prototype, missed in previous commit.



details:   https://anonhg.NetBSD.org/src/rev/96e312c12c16
branches:  trunk
changeset: 780031:96e312c12c16
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sun Jul 08 01:24:08 2012 +0000

description:
Add murmurhash2() prototype, missed in previous commit.

diffstat:

 sys/sys/hash.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 07ccd501751a -r 96e312c12c16 sys/sys/hash.h
--- a/sys/sys/hash.h    Sun Jul 08 01:21:11 2012 +0000
+++ b/sys/sys/hash.h    Sun Jul 08 01:24:08 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hash.h,v 1.6 2008/04/28 20:24:10 martin Exp $  */
+/*     $NetBSD: hash.h,v 1.7 2012/07/08 01:24:08 rmind Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -33,11 +33,11 @@
 #define        _SYS_HASH_H_
 
 #include <sys/types.h>
+
 #ifdef __HAVE_MACHINE_HASH_H
 #include <machine/hash.h>
 #endif
 
-
 #ifndef __HAVE_HASH32_BUF                      /* not overridden by MD hash */
 
 #define        HASH32_BUF_INIT 5381
@@ -99,5 +99,8 @@
 }
 #endif /* __HAVE_HASH32_STR */
 
+__BEGIN_DECLS
+uint32_t       murmurhash2(const void *, size_t, uint32_t);
+__END_DECLS
 
 #endif /* !_SYS_HASH_H_ */



Home | Main Index | Thread Index | Old Index