Skip to content

use (void) for no-arg doom_* API functions - #31

Merged
Daivuk merged 1 commit into
Daivuk:masterfrom
marler8997:voidArgs
Jun 23, 2026
Merged

use (void) for no-arg doom_* API functions#31
Daivuk merged 1 commit into
Daivuk:masterfrom
marler8997:voidArgs

Conversation

@marler8997

Copy link
Copy Markdown
Contributor

The meaning of () changes across C standards and compiler versions, it can mean the function takes 0 args or an unspecified number of args. Prefer (void) to unambiguously declare 0-arg functions.

The meaning of `()` changes across C standards and compiler versions, it
can mean the function takes 0 args or an unspecified number of args. Prefer
`(void)` to unambiguously declare 0-arg functions.
@Daivuk
Daivuk merged commit 2acd427 into Daivuk:master Jun 23, 2026
4 of 10 checks passed
@marler8997
marler8997 deleted the voidArgs branch June 23, 2026 18:32
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.

2 participants