diff options
| author | Raymond Mao <[email protected]> | 2024-05-16 14:11:52 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-05-22 08:55:29 -0600 |
| commit | cb73fe9eeae0d71a74eef811b0ba34aaf5513dbe (patch) | |
| tree | efb46ac2604f9eccde6e9bc65e1d73dfd8d35854 /test | |
| parent | 0fe031dd722079cd076cc120d45e1711eb108fe3 (diff) | |
include: Move snprintf to stdio.h
Move snprintf to stdio.h since it is needed by exteranl libraries.
Signed-off-by: Raymond Mao <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/dm/scmi.c | 2 | ||||
| -rw-r--r-- | test/print_ut.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/dm/scmi.c b/test/dm/scmi.c index 69fc900e342..c9a03523184 100644 --- a/test/dm/scmi.c +++ b/test/dm/scmi.c @@ -18,7 +18,7 @@ #include <scmi_agent.h> #include <scmi_agent-uclass.h> #include <scmi_protocols.h> -#include <vsprintf.h> +#include <stdio.h> #include <asm/scmi_test.h> #include <dm/device-internal.h> #include <dm/test.h> diff --git a/test/print_ut.c b/test/print_ut.c index bded2b6ebe5..53d3354ea69 100644 --- a/test/print_ut.c +++ b/test/print_ut.c @@ -9,6 +9,7 @@ #include <log.h> #include <mapmem.h> #include <version_string.h> +#include <stdio.h> #include <vsprintf.h> #include <test/suites.h> #include <test/test.h> |
