# mingw: stop using K&R-style function definitions · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/72a7e3dc5e3d2128f4d95b7ba9554ea2e6e35139)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 72a7e3dc5e3d2128f4d95b7ba9554ea2e6e35139

Requested commit: 72a7e3dc5e3d2128f4d95b7ba9554ea2e6e35139

Commit: 72a7e3dc5e3d2128f4d95b7ba9554ea2e6e35139

Tree: 6a810c5a9f8952226508f3344250ddd1cecc9ed6

Author: praschke

Committer: Andrew Kelley

## Message

```
mingw: stop using K&R-style function definitions

this patch is from upstream, to fix -Wdeprecated-non-prototypes issues.

K&R-style has apparently been deprecated since even C89, and C2x will be
repurposing the syntax space. this warning triggers when the change would
affect the meaning of the code.

```

## Parents

- [304420b99ced44e1b7ebd34d7c3917879cb78648](https://git.cafe/gitcafe/zig/commit/304420b99ced44e1b7ebd34d7c3917879cb78648?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/72a7e3dc5e3d2128f4d95b7ba9554ea2e6e35139?format=markdown)
