michallenc opened a new pull request, #15768: URL: https://github.com/apache/nuttx/pull/15768
## Summary The missing `<nuttx/spinlock.h>` header caused following compile errors: ``` CC: clock/clock_adjtime.c clock/clock_adjtime.c: In function 'adjtime_wdog_callback': clock/clock_adjtime.c:67:11: error: implicit declaration of function 'spin_lock_irqsave' [-Wimplicit-function-declaration] 67 | flags = spin_lock_irqsave(&g_adjtime_lock); | ^~~~~~~~~~~~~~~~~ clock/clock_adjtime.c:78:3: error: implicit declaration of function 'spin_unlock_irqrestore' [-Wimplicit-function-declaration] 78 | spin_unlock_irqrestore(&g_adjtime_lock, flags); ``` ## Impact `clock/clock_adjtime.c` now compiles. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org