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

Jeroen Hofstee jeroen at myspectrum.nl
Sun Jun 22 23:24:04 CEST 2014


Include the function its prototype to prevent the warning
that it has no prototype.

Signed-off-by: Jeroen Hofstee <jeroen at 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



More information about the U-Boot mailing list