Commit 059a771
committed
Fix non-only or named "void" in parameter lists
'void' must be the only parameter and unnamed to indicate no parameters.
Previously, the check for functions with first parameter of void
pointer, etc. didn't consider the illegal forms, so those could pass
compilation.1 parent 05cce14 commit 059a771
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
739 | 743 | | |
740 | 744 | | |
741 | 745 | | |
| |||
0 commit comments