1 #include <linux/module.h>
2 
exported_function(void)3 void exported_function(void) {}
4 EXPORT_SYMBOL(exported_function);
5 
exported_function_gpl(void)6 void exported_function_gpl(void) {}
7 EXPORT_SYMBOL_GPL(exported_function_gpl);
8 
9 int exported_variable = 1;
10 EXPORT_SYMBOL(exported_variable);
11 
12 int exported_variable_gpl = 1;
13 EXPORT_SYMBOL_GPL(exported_variable_gpl);
14 
local_function(void)15 void local_function(void) {}
16 int local_variable = 2;
17