Skip to content

fix: correct cancelJob signature for SIGTERM#54

Open
tryprncp wants to merge 3 commits intoklirichek:masterfrom
tryprncp:master
Open

fix: correct cancelJob signature for SIGTERM#54
tryprncp wants to merge 3 commits intoklirichek:masterfrom
tryprncp:master

Conversation

@tryprncp
Copy link

@tryprncp tryprncp commented Aug 1, 2025

This PR fixes a build error caused by an incompatible function pointer type passed to signal(SIGTERM, cancelJob).
The original cancelJob function had the wrong signature (void cancelJob(void)), while it should be void cancelJob(int) to match the expected __sighandler_t type (void (*)(int)).

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.

3 participants