Skip to content

version-mixing: Fix deprecated-non-prototype warning

tests/shaders/version-mixing.c:67:14: warning: passing arguments to 'parse_params' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 67 | parse_params(argc, argv); | ^ tests/shaders/version-mixing.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static void parse_params(); | ^ tests/shaders/version-mixing.c:288:1: note: conflicting prototype is here 288 | parse_params(int argc, char **argv) | ^

Fixes: bf1f79cc ("Test mixing of GLSL versions between VS and GS") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports