summaryrefslogtreecommitdiff
path: root/util/hash.h
diff options
context:
space:
mode:
authorVictor Costan <costan@google.com>2022-01-10 09:48:52 -0800
committerGitHub <noreply@github.com>2022-01-10 09:48:52 -0800
commit3ab94e7da853e1c507e7ce5bcf48a6b887625f62 (patch)
tree2b2ee2b9a79636392a0380befc959ab17555471a /util/hash.h
parent3ee04c5ceae6535e922521ed940411a0318fdd3b (diff)
parent8ccb79b57e877cb28b751d74e3e50bb4f8184997 (diff)
downloadleveldb-3ab94e7da853e1c507e7ce5bcf48a6b887625f62.tar.gz
Merge branch 'master' into fix_issue_505
Diffstat (limited to 'util/hash.h')
-rw-r--r--util/hash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/hash.h b/util/hash.h
index 8889d56..87ab279 100644
--- a/util/hash.h
+++ b/util/hash.h
@@ -7,13 +7,13 @@
#ifndef STORAGE_LEVELDB_UTIL_HASH_H_
#define STORAGE_LEVELDB_UTIL_HASH_H_
-#include <stddef.h>
-#include <stdint.h>
+#include <cstddef>
+#include <cstdint>
namespace leveldb {
-extern uint32_t Hash(const char* data, size_t n, uint32_t seed);
+uint32_t Hash(const char* data, size_t n, uint32_t seed);
-}
+} // namespace leveldb
#endif // STORAGE_LEVELDB_UTIL_HASH_H_