Ztest: Including the missing C standard library header
The ztest.c calls atoi, which is provided by the C standard library. Remove the conditional inclusion of the C standard library with the definition of CONFIG_ZTEST_SHUFFLE. Signed-off-by: Firas Sammoura <fsammoura@google.com>
This commit is contained in:
parent
5a195001e3
commit
6f072ba774
1 changed files with 1 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <zephyr/ztest.h>
|
#include <zephyr/ztest.h>
|
||||||
|
|
||||||
#include <zephyr/app_memory/app_memdomain.h>
|
#include <zephyr/app_memory/app_memdomain.h>
|
||||||
|
|
@ -27,7 +28,6 @@ static bool failed_expectation;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ZTEST_SHUFFLE
|
#ifdef CONFIG_ZTEST_SHUFFLE
|
||||||
#include <stdlib.h>
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <zephyr/random/random.h>
|
#include <zephyr/random/random.h>
|
||||||
#ifndef CONFIG_ZTEST_REPEAT
|
#ifndef CONFIG_ZTEST_REPEAT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue