mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
Test module macros
This commit is contained in:
10
contrib/linux-kernel/test/include/linux/module.h
Normal file
10
contrib/linux-kernel/test/include/linux/module.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef LINUX_MODULE_H_
|
||||
#define LINUX_MODULE_H_
|
||||
|
||||
#define EXPORT_SYMBOL(symbol) \
|
||||
void* __##symbol = symbol
|
||||
#define MODULE_LICENSE(license) static char const *const LICENSE = license
|
||||
#define MODULE_DESCRIPTION(description) \
|
||||
static char const *const DESCRIPTION = description
|
||||
|
||||
#endif // LINUX_MODULE_H_
|
Reference in New Issue
Block a user