Skip to content

Commit

Permalink
lib/rational.c needs module.h
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
saschahauer authored and torvalds committed Jan 11, 2010
1 parent cacb246 commit 7ee3aeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rational.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <linux/rational.h>
#include <linux/module.h>

/*
* calculate best rational approximation for a given fraction
Expand Down

0 comments on commit 7ee3aeb

Please sign in to comment.