Changeset View
Changeset View
Standalone View
Standalone View
contrib/zstd/lib/common/xxhash.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | |||||
#ifndef XXHASH_H_5627135585666179 | #ifndef XXHASH_H_5627135585666179 | ||||
#define XXHASH_H_5627135585666179 1 | #define XXHASH_H_5627135585666179 1 | ||||
/* **************************** | /* **************************** | ||||
* Definitions | * Definitions | ||||
******************************/ | ******************************/ | ||||
#ifdef _KERNEL | |||||
#include <sys/param.h> /* size_t */ | |||||
#else | |||||
#include <stddef.h> /* size_t */ | #include <stddef.h> /* size_t */ | ||||
#endif | |||||
typedef enum { XXH_OK=0, XXH_ERROR } XXH_errorcode; | typedef enum { XXH_OK=0, XXH_ERROR } XXH_errorcode; | ||||
/* **************************** | /* **************************** | ||||
* API modifier | * API modifier | ||||
******************************/ | ******************************/ | ||||
/** XXH_PRIVATE_API | /** XXH_PRIVATE_API | ||||
* This is useful if you want to include xxhash functions in `static` mode | * This is useful if you want to include xxhash functions in `static` mode | ||||
▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines |