yangsong8-a1 opened a new pull request, #22283: URL: https://github.com/apache/nuttx/pull/22283
## Summary Remove the `addrenv.h` inclusion from `sched.h` and the module loader headers, and use a forward-declared `struct addrenv_s` in the public structures instead. Code that needs the address environment now includes `addrenv.h` (or `wqueue.h`, `list.h`) directly instead of relying on the transitive includes it used to get through `sched.h`. ## Impact Include-only cleanup, no functional change. ## Testing Host GCC, Ubuntu 22.04. **Builds (no new warnings):** - sim:nsh (flat) - rv-virt:knsh (riscv32, kernel mode with `ARCH_ADDRENV`) - rv-virt:knsh64_paging (riscv64, kernel mode with `ARCH_ADDRENV` and `PAGING`) - esp32s3-devkit:kernel_n8r2 (xtensa, kernel mode with `ARCH_ADDRENV`) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
