Test module macros

This commit is contained in:
Nick Terrell committed 2017-04-04 12:56:44 -07:00
1 parent b1b582b9fa
commit b06507221e
2 files changed
+85

No files matched your search

@@ -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_