From: José Fonseca <[email protected]>
For MSVC `foo()` and `foo(void)` are not the same thing.
---
tests/spec/gl-1.0/beginend-coverage.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/spec/gl-1.0/beginend-coverage.c
b/tests/spec/gl-1.0/beginend-coverage.c
index 8befd30..71c69f5 100644
--- a/tests/spec/gl-1.0/beginend-coverage.c
+++ b/tests/spec/gl-1.0/beginend-coverage.c
@@ -242,15 +242,15 @@ TEST_FUNC(glPixelTransferf, (GL_MAP_COLOR, 0))
TEST_FUNC(glPixelTransferi, (GL_MAP_COLOR, 0))
TEST_FUNC(glPixelZoom, (0, 0))
TEST_FUNC(glPointSize, (1))
-static void test_glPushAttrib() {
+static void test_glPushAttrib(void) {
glPushAttrib(GL_COLOR_BUFFER_BIT);
glPopAttrib();
}
-static void test_glPushClientAttrib() {
+static void test_glPushClientAttrib(void) {
glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT);
glPopClientAttrib();
}
-static void test_glPushMatrix() {
+static void test_glPushMatrix(void) {
glPushMatrix();
glPopMatrix();
}
--
1.9.1
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit