lib/rational.c needs module.h

lib/rational.c:62: warning: data definition has no type or storage class
lib/rational.c:62: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
lib/rational.c:62: warning: parameter names (without types) in function declaration

Signed-off-by: Sascha Hauer <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Acked-by: WANG Cong <[email protected]>
Cc: Oskar Schirmer <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Sascha Hauer authored and Linus Torvalds committed 2010-01-11 09:34:05 -08:00
1 parent cacb246f8d
commit 7ee3aebe31
1 file changed
+1
+1
View File
@@ -7,6 +7,7 @@
*/
#include <linux/rational.h>
#include <linux/module.h>
/*
* calculate best rational approximation for a given fraction