Skip to content

Commit

Permalink
lib/rational.c needs module.h
Browse files Browse the repository at this point in the history
commit 7ee3aeb upstream.

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]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
saschahauer authored and gregkh committed Jan 18, 2010
1 parent 21f7654 commit f21efc5
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 f21efc5

Please sign in to comment.