Commit dbcad164 authored by Brian Paul's avatar Brian Paul

piglit: put 'void' in piglit_is_gles() and piglit_get_gl_version() decls

parent 36b7104c
......@@ -34,13 +34,13 @@
*/
static const char **gl_extensions = NULL;
bool piglit_is_gles()
bool piglit_is_gles(void)
{
const char *version_string = (const char *) glGetString(GL_VERSION);
return strncmp("OpenGL ES ", version_string, 10) == 0;
}
int piglit_get_gl_version()
int piglit_get_gl_version(void)
{
const char *version_string = (const char *) glGetString(GL_VERSION);
int scanf_count;
......
......@@ -46,7 +46,7 @@ extern const unsigned int fdo_bitmap_height;
/**
* Determine if the API is OpenGL ES.
*/
bool piglit_is_gles();
bool piglit_is_gles(void);
/**
* \brief Get version of OpenGL or OpenGL ES API.
......@@ -54,7 +54,7 @@ bool piglit_is_gles();
* Returned version is multiplied by 10 to make it an integer. So for
* example, if the GL version is 2.1, the return value is 21.
*/
int piglit_get_gl_version();
int piglit_get_gl_version(void);
/**
* \precondition name is not null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment