summaryrefslogtreecommitdiffstats
path: root/src/util/murmurhash3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/murmurhash3.h')
-rw-r--r--src/util/murmurhash3.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/murmurhash3.h b/src/util/murmurhash3.h
index db7d8a48c..6910e596b 100644
--- a/src/util/murmurhash3.h
+++ b/src/util/murmurhash3.h
@@ -6,7 +6,15 @@
* clients can be both 64 or 32 bit at the same time.
*/
+#ifndef _UTIL_MURMURHASH3_H_
+#define _UTIL_MURMURHASH3_H_
+
#include <stdint.h>
+/* CAUTION:
+ * This file is also used in sss_client (pam, nss). Therefore it have to be
+ * minimalist and cannot include DEBUG macros or header file util.h.
+ */
uint32_t murmurhash3(const char *key, int len, uint32_t seed);
+#endif /* _UTIL_MURMURHASH3_H_ */