]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
tools: mkenvimage: Make xstrtol() static
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Mon, 7 Jul 2025 11:25:06 +0000 (14:25 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 14 Jul 2025 21:16:35 +0000 (15:16 -0600)
This function is only used locally. Enabling -Wmissing-prototypes triggers
a warning. Mark it as static.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
tools/mkenvimage.c

index 885cdb1390ef0f72bc4fe9e59cf11a9355c69a48..944ec82e761df23f9bca5f5ffac6cac7e2d53c68 100644 (file)
@@ -47,7 +47,7 @@ static void usage(const char *exec_name)
               exec_name);
 }
 
-long int xstrtol(const char *s)
+static long int xstrtol(const char *s)
 {
        long int tmp;