-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ztest: Including the missing C standard library header #79136
Conversation
Hello @fsammoura1980, and thank you very much for your first pull request to the Zephyr project! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove #include <stdlib.h>
which is under #ifdef CONFIG_ZTEST_SHUFFLE
?
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>
8cc8904
17efe46
to
8cc8904
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Hi @fsammoura1980! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |
The ztest.c calls atoi, which is provided by the C standard library.