Skip to content

Conversation

etienne-lms
Copy link
Contributor

@etienne-lms etienne-lms commented Oct 20, 2025

Add missing inclusion of stddef.h and stdbool.h to respectively define size_t and bool types used in some cache.h function declarations.

This change prevents build errors like:

.../zephyr/include/zephyr/arch/cache.h:105:41: error: unknown type name 'size_t'
  105 | int arch_dcache_flush_range(void *addr, size_t size);
      |                                         ^~~~~~

@etienne-lms etienne-lms changed the title includ: zephyr: arch: add missing stddef.h/stdbool.h in cache.h include: zephyr: arch: add missing stddef.h/stdbool.h in cache.h Oct 20, 2025
@zephyrbot zephyrbot requested review from dcpleung and nashif October 20, 2025 12:11
Add missing inclusion of stddef.h and stdbool.h to respectively define
size_t and bool types used in some cache.h function declarations.

This change prevents build errors like:

.../include/zephyr/arch/cache.h:105:41: error: unknown type name 'size_t'
  105 | int arch_dcache_flush_range(void *addr, size_t size);
      |                                         ^~~~~~

Signed-off-by: Etienne Carriere <[email protected]>
@etienne-lms
Copy link
Contributor Author

Shortened error trace message in commit message to address CI Compliance Checks complain.

Copy link

@nashif nashif added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Oct 20, 2025
@cfriedt cfriedt merged commit be62ee2 into zephyrproject-rtos:main Oct 20, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Architectures 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.

6 participants