]> git.proxmox.com Git - ceph.git/blob - ceph/src/zstd/tests/namespaceTest.c
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / zstd / tests / namespaceTest.c
1 /**
2 * Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
3 * All rights reserved.
4 *
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 */
9
10
11
12 #include <stddef.h> /* size_t */
13 #include <string.h> /* strlen */
14
15 /* symbol definition */
16 extern unsigned XXH32(const void* src, size_t srcSize, unsigned seed);
17
18 int main(int argc, const char** argv)
19 {
20 const char* exename = argv[0];
21 unsigned result = XXH32(exename, strlen(exename), argc);
22 return !result;
23 }