Skip to content

Remove K&R style parameter declaration - #131185

Merged
MichalStrehovsky merged 1 commit into
dotnet:mainfrom
MichalStrehovsky:compression
Jul 22, 2026
Merged

MichalStrehovsky merged 1 commit into
dotnet:mainfrom
MichalStrehovsky:compression

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

clang doesn't like it and I don't think there's a reason to use it in 2026.

clang doesn't like it and I don't think there's a reason to use it in 2026.
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @karelz, @dotnet/area-system-io-compression
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the Windows zlib allocator implementation by replacing K&R-style function parameter declarations with standard C function prototypes, improving compatibility with modern compilers/tooling.

Changes:

  • Updated z_custom_calloc to use a prototype-style parameter list.
  • Updated z_custom_cfree to use a prototype-style parameter list.

@MichalStrehovsky

Copy link
Copy Markdown
Member Author

/ba-g infra issue on wasm (disk full? disk doesn't exist?)

@MichalStrehovsky
MichalStrehovsky enabled auto-merge (squash) July 22, 2026 13:06
@MichalStrehovsky
MichalStrehovsky merged commit 57f3e7e into dotnet:main Jul 22, 2026
180 of 182 checks passed
@MichalStrehovsky
MichalStrehovsky deleted the compression branch July 22, 2026 13:06
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc1 milestone Jul 24, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants