From 2115ec51d413be7fb81678225f8063ec9a20b4ba Mon Sep 17 00:00:00 2001 From: Ilias Apalodimas Date: Mon, 7 Jul 2025 14:25:06 +0300 Subject: [PATCH] tools: mkenvimage: Make xstrtol() static This function is only used locally. Enabling -Wmissing-prototypes triggers a warning. Mark it as static. Signed-off-by: Ilias Apalodimas --- tools/mkenvimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 885cdb1390e..944ec82e761 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -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; -- 2.47.2