summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-11-23 08:49:19 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-10 08:27:33 +0100
commit8e108ea3ea65d9a58522e23be489418c6703d5ef (patch)
tree298a7b74887e4784d0c628702bbd45d362cd53d9 /lib
parent8125f16642aaa6c831510e75e9b311dd5cbde8c8 (diff)
downloadbarebox-8e108ea3ea65d9a58522e23be489418c6703d5ef.tar.gz
barebox-8e108ea3ea65d9a58522e23be489418c6703d5ef.tar.xz
lib/int_sqrt.c: Fix compiler warning
include int_sqrt.h to have the prototype for the function defined in this file. Fixes: lib/int_sqrt.c:25:15: warning: no previous prototype for 'int_sqrt' [-Wmissing-prototypes] Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/int_sqrt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/int_sqrt.c b/lib/int_sqrt.c
index 30ccafbf9e..bf8b18fcb4 100644
--- a/lib/int_sqrt.c
+++ b/lib/int_sqrt.c
@@ -15,6 +15,7 @@
*/
#include <common.h>
+#include <int_sqrt.h>
/**
* int_sqrt - rough approximation to sqrt