Commit 59e156b
loader: Explicitly specify argument types
Function definitions / declarations without specifying the argument
types are deprecated in all C versions and may trigger compiler
warnings (-Wstrict-prototypes).
This change replaces all `function()` definitions and declarations
with `function(void)`.
Test: Vulkan-Loader builds on Fuchsia with Wstrict-prototypes
enabled.
Bug: https://fxbug.dev/378964821
Change-Id: I0b43f3d78baa70637b001e8ddbb7ebeedd7d55131 parent 7552270 commit 59e156b
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2003 | 2003 | | |
2004 | 2004 | | |
2005 | 2005 | | |
2006 | | - | |
| 2006 | + | |
2007 | 2007 | | |
2008 | 2008 | | |
2009 | 2009 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments