summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/zstd/lib/common/xxhash.c
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/zstd/lib/common/xxhash.c')
-rw-r--r--3rdparty/zstd/lib/common/xxhash.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/3rdparty/zstd/lib/common/xxhash.c b/3rdparty/zstd/lib/common/xxhash.c
new file mode 100644
index 00000000000..fd237c9062a
--- /dev/null
+++ b/3rdparty/zstd/lib/common/xxhash.c
@@ -0,0 +1,24 @@
+/*
+ * xxHash - Fast Hash algorithm
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * You can contact the author at :
+ * - xxHash homepage: https://cyan4973.github.io/xxHash/
+ * - xxHash source repository : https://github.com/Cyan4973/xxHash
+ *
+ * This source code is licensed under both the BSD-style license (found in the
+ * LICENSE file in the root directory of this source tree) and the GPLv2 (found
+ * in the COPYING file in the root directory of this source tree).
+ * You may select, at your option, one of the above-listed licenses.
+*/
+
+
+
+/*
+ * xxhash.c instantiates functions defined in xxhash.h
+ */
+
+#define XXH_STATIC_LINKING_ONLY /* access advanced declarations */
+#define XXH_IMPLEMENTATION /* access definitions */
+
+#include "xxhash.h"