[U-Boot] [PATCH] lib: div64: add missing include

22 Jun
2014
22 Jun
'14
11:24 p.m.
Include the function its prototype to prevent the warning that it has no prototype.
Signed-off-by: Jeroen Hofstee jeroen@myspectrum.nl --- lib/div64.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/lib/div64.c b/lib/div64.c index e688a91..795ef0e 100644 --- a/lib/div64.c +++ b/lib/div64.c @@ -16,6 +16,7 @@ * assembly versions such as arch/powerpc/lib/div64.S and arch/sh/lib/div64.S. */
+#include <div64.h> #include <linux/types.h>
uint32_t __div64_32(uint64_t *n, uint32_t base)
--
1.8.3.2

21 Jul
21 Jul
10:41 p.m.
New subject: [U-Boot] lib: div64: add missing include
On Sun, Jun 22, 2014 at 11:24:04PM +0200, Jeroen Hofstee wrote:
Include the function its prototype to prevent the warning that it has no prototype.
Signed-off-by: Jeroen Hofstee jeroen@myspectrum.nl
Applied to u-boot/master, thanks!
--
Tom
3948
Age (days ago)
3977
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jeroen Hofstee
-
Tom Rini