Skip to content

Ensure C23 standard compatibility#53

Merged
dio-az merged 1 commit intomainfrom
chore/c23-compatibility
Aug 9, 2025
Merged

Ensure C23 standard compatibility#53
dio-az merged 1 commit intomainfrom
chore/c23-compatibility

Conversation

@dio-az
Copy link
Copy Markdown
Owner

@dio-az dio-az commented Aug 8, 2025

Fixes the following errors when compiling using -std=c23:

ngx_http_vod_module.c:242:5: error: initialization of 'void (*)(ngx_cycle_t *)' from incompatible pointer type 'void (*)(void)'
  242 |     ngx_http_vod_exit_process,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~

ngx_http_vod_module.c:243:5: error: initialization of 'void (*)(ngx_cycle_t *)' from incompatible pointer type 'void (*)(void)'
  243 |     ngx_http_vod_exit_process,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~

Co-authored-by: J. Neuschäfer <j.ne@posteo.net>
@dio-az dio-az self-assigned this Aug 8, 2025
@dio-az dio-az added the bug Something isn't working label Aug 8, 2025
@dio-az dio-az marked this pull request as ready for review August 9, 2025 07:45
@dio-az dio-az merged commit 635f01b into main Aug 9, 2025
8 checks passed
@dio-az dio-az deleted the chore/c23-compatibility branch August 9, 2025 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant