Module Name: src
Committed By: rmind
Date: Sun Jul 8 01:24:08 UTC 2012
Modified Files:
src/sys/sys: hash.h
Log Message:
Add murmurhash2() prototype, missed in previous commit.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/sys/hash.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/hash.h
diff -u src/sys/sys/hash.h:1.6 src/sys/sys/hash.h:1.7
--- src/sys/sys/hash.h:1.6 Mon Apr 28 20:24:10 2008
+++ src/sys/sys/hash.h Sun Jul 8 01:24:08 2012
@@ -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 @@ hash32_strn(const void *bf, size_t len,
}
#endif /* __HAVE_HASH32_STR */
+__BEGIN_DECLS
+uint32_t murmurhash2(const void *, size_t, uint32_t);
+__END_DECLS
#endif /* !_SYS_HASH_H_ */