Skip to content

fix: added int parameter to termhandler() function#81

Open
alanvespasian wants to merge 1 commit intotorrinfail:masterfrom
alanvespasian:master
Open

fix: added int parameter to termhandler() function#81
alanvespasian wants to merge 1 commit intotorrinfail:masterfrom
alanvespasian:master

Conversation

@alanvespasian
Copy link
Copy Markdown

termhandler is defined without any parameters, added int parameter to match expected signal handler signature

this fixes the compiler error: dwmblocks.c:207:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]

termhandler is defined without any parameters, added int parameter to match expected signal handler signature
@Themadnibbler
Copy link
Copy Markdown

I had to make the changes in this pull request to dwmblocks.c in order to successfully make in vanilla Arch. Otherwise I got the error: dwmblocks.c:207:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types].

@sagewing
Copy link
Copy Markdown

Same here. Was unable to build on vanilla arch, but these changes fixed it. thanks.

@devolak
Copy link
Copy Markdown

devolak commented Jun 19, 2025

Exact same error I was encountering, also on vanilla arch. Works after applying the changes.

@derva derva mentioned this pull request Sep 2, 2025
@rezawam
Copy link
Copy Markdown

rezawam commented Nov 7, 2025

Yes, this fixed my build on Arch too.

@BenchKo
Copy link
Copy Markdown

BenchKo commented Nov 27, 2025

Same here :)

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.

6 participants