Skip to content

Conversation

@xfeusw
Copy link

@xfeusw xfeusw commented Jan 4, 2026

Fix pthread_create argument type for GCC 15+

pthread_create expects a function pointer of type:
void *(*)(void *)

The original code used:
void *(*)(void)

This change updates doSomeThing() to accept a void* argument
and silences the unused parameter warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant