EXPORT_SYMBOL warning data type

When using 'EXPORT_SYMBOL' to export a funtion, it reports warning like this:

warning: data definition has no type or storage class

warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'

warning: parameter names (without types) in function declaration

 

Include module.h to solve it .

#include

 

你可能感兴趣的:(Linux)