Make private async_context_*_execute_sync static #2679

Merged
earlephilhower merged 1 commit from ns into develop 2026-01-05 11:23:41 -06:00
earlephilhower commented 2025-09-19 13:34:38 -05:00 (Migrated from github.com)

Fixes #2678

The FreeRTOS, Poll, and Threadsafe async_context implementations have execute_sync functions that's set as a member of their async_context_type_t struct for use by the user-visible async_context API. These implementation functions should not be accessible by user code which chouls only use async_context_execute_sync and not the low-lever async_context_{freertos,poll,threadsafe}_execute_sync implementation.

Make these private functions static like the other low-level functions in the async_context_type_t struct.

Fixes #2678 The FreeRTOS, Poll, and Threadsafe async_context implementations have execute_sync functions that's set as a member of their async_context_type_t struct for use by the user-visible async_context API. These implementation functions should not be accessible by user code which chouls only use async_context_execute_sync and not the low-lever async_context_{freertos,poll,threadsafe}_execute_sync implementation. Make these private functions static like the other low-level functions in the async_context_type_t struct.
kilograham (Migrated from github.com) approved these changes 2026-01-05 11:23:31 -06:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!2679
No description provided.