summaryrefslogtreecommitdiff
path: root/common/button_cmd.c
diff options
context:
space:
mode:
authorRaymond Mao <raymond.mao@linaro.org>2024-05-16 14:11:52 -0700
committerTom Rini <trini@konsulko.com>2024-05-22 08:55:29 -0600
commitcb73fe9eeae0d71a74eef811b0ba34aaf5513dbe (patch)
treeefb46ac2604f9eccde6e9bc65e1d73dfd8d35854 /common/button_cmd.c
parent0fe031dd722079cd076cc120d45e1711eb108fe3 (diff)
downloadu-boot-cb73fe9eeae0d71a74eef811b0ba34aaf5513dbe.tar.gz
u-boot-cb73fe9eeae0d71a74eef811b0ba34aaf5513dbe.tar.bz2
u-boot-cb73fe9eeae0d71a74eef811b0ba34aaf5513dbe.zip
include: Move snprintf to stdio.h
Move snprintf to stdio.h since it is needed by exteranl libraries. Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'common/button_cmd.c')
-rw-r--r--common/button_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/button_cmd.c b/common/button_cmd.c
index 8642c26735..72dac1f9ef 100644
--- a/common/button_cmd.c
+++ b/common/button_cmd.c
@@ -8,7 +8,7 @@
#include <command.h>
#include <env.h>
#include <log.h>
-#include <vsprintf.h>
+#include <stdio.h>
/* Some sane limit "just in case" */
#define MAX_BTN_CMDS 32