[Piglit] [PATCH 7/9] gl-1.0-beginend-coverage: Fix prototypes.
jfonseca at vmware.com
jfonseca at vmware.com
Tue Apr 29 10:57:52 PDT 2014
From: José Fonseca <jfonseca at vmware.com>
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
More information about the Piglit
mailing list