Skip to content

libc: remove POSIX_TIMERS dep from COMMON_LIBC_TIME #92590

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

Merged

Conversation

maass-hamburg
Copy link
Collaborator

remove POSIX_TIMERS dependency from
COMMON_LIBC_TIME, as no longer needed.

the time() implementation now uses
sys_clock_gettime(), change that in the docs.

remove POSIX_TIMERS dependency from
COMMON_LIBC_TIME, as it is no longer
needed.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
the time() implementation now uses
sys_clock_gettime(), change that in the docs.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Copy link
Collaborator Author

@maass-hamburg maass-hamburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change cherry picked from #92115, so this can still go in 4.2.0

Copy link

sonarqubecloud bot commented Jul 3, 2025

@maass-hamburg maass-hamburg added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Jul 3, 2025
Copy link
Member

@cfriedt cfriedt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch - thanks @maass-hamburg 🙏

@maass-hamburg
Copy link
Collaborator Author

@tejlmand please approve as the assignee, so this can still go in 4.2.0

@nordicjm nordicjm assigned stephanosio and unassigned tejlmand Jul 8, 2025
@nordicjm
Copy link
Collaborator

nordicjm commented Jul 8, 2025

@tejlmand please approve as the assignee, so this can still go in 4.2.0

He is off so have switched to Stephanso who is actually the libc maintainer

@danieldegrasse danieldegrasse merged commit d53e951 into zephyrproject-rtos:main Jul 8, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Build System area: C Library C Standard Library area: Documentation area: Toolchains Toolchains Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants