util.c should include util.h so that the compiler can check that the prototype from the header matches the implementation. This is required for compiling the file with "-Wmissing-prototypes". Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx> --- lib/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/util.c b/lib/util.c index 69b1810..a905541 100644 --- a/lib/util.c +++ b/lib/util.c @@ -4,6 +4,7 @@ * This work is licensed under the terms of the GNU LGPL, version 2. */ #include <libcflat.h> +#include "util.h" int parse_keyval(char *s, long *val) { -- 1.8.3.1