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
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <zephyr/app_memory/app_memdomain.h>
|
||||
|
@ -27,7 +28,6 @@ static bool failed_expectation;
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_ZTEST_SHUFFLE
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <zephyr/random/random.h>
|
||||
#ifndef CONFIG_ZTEST_REPEAT
|
||||
|
|
Loading…
Reference in New Issue