# Static function declarations with no prototype should not be variadic · gitcafe/zig

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

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

Visibility: public

Requested revision: 5cc131030c01e178453b12f235823124aa6a2d12

Requested commit: 5cc131030c01e178453b12f235823124aa6a2d12

Commit: 5cc131030c01e178453b12f235823124aa6a2d12

Tree: ae3644c4dc94467f144f896ad193f7c6d39b9a8f

Author: Evan Haas

Committer: Andrew Kelley

## Message

```
Static function declarations with no prototype should not be variadic

If a static function is defined with no argument list and no prototype
is given, it should be treated as a function that takes no arguments
rather than as a variadic function.

Fixes #7594

```

## Parents

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

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