aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-04 14:02:51 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-04 14:02:51 -0800
commitddaac5fbe1c40c4c15bb7cf47ba03d4d4a4847e2 (patch)
tree535f30b762638ba59c393fd7e8b509bad399b18d /tests
parentbd33305a84320d8636531d32d84e135cf950ca81 (diff)
specify (void) as the arguments in webgl_context_attributes test, to avoid confusion with varargs by clang
Diffstat (limited to 'tests')
-rw-r--r--tests/test_webgl_context_attributes_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_webgl_context_attributes_common.c b/tests/test_webgl_context_attributes_common.c
index 7131203b..80506b50 100644
--- a/tests/test_webgl_context_attributes_common.c
+++ b/tests/test_webgl_context_attributes_common.c
@@ -238,9 +238,9 @@ static void draw() {
}
-extern int webglAntialiasSupported();
-extern int webglDepthSupported();
-extern int webglStencilSupported();
+extern int webglAntialiasSupported(void);
+extern int webglDepthSupported(void);
+extern int webglStencilSupported(void);
// Check attributes support in the WebGL implementation (see test_webgl_context_attributes function in test_browser.py)
// Tests will succeed if they are not.