From cd14a5ed117a9a30c92d426ff38d6a89a55a508b Mon Sep 17 00:00:00 2001 From: T_chan Date: Mon, 7 Feb 2022 16:09:00 +0000 Subject: [PATCH] =?UTF-8?q?gl.h:=20avoid=20gcc=20warning=20"function=20dec?= =?UTF-8?q?laration=20isn=E2=80=99t=20a=20prototype"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/GL/gl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/GL/gl.h b/include/GL/gl.h index 0efab00..5d294ab 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -450,8 +450,8 @@ __BEGIN_DECLS #define GLAPI extern #define APIENTRY -GLAPI void APIENTRY glFlush(); -GLAPI void APIENTRY glFinish(); +GLAPI void APIENTRY glFlush(void); +GLAPI void APIENTRY glFinish(void); /* Start Submission of Primitive Data */ /* Currently Supported Primitive Types: @@ -463,7 +463,7 @@ GLAPI void APIENTRY glFinish(); GLAPI void APIENTRY glBegin(GLenum mode); /* Finish Submission of Primitive Data */ -GLAPI void APIENTRY glEnd(); +GLAPI void APIENTRY glEnd(void); /* Primitive Texture Coordinate Submission */ GLAPI void APIENTRY glTexCoord1f(GLfloat u); @@ -629,15 +629,15 @@ GLAPI void APIENTRY glDisableClientState(GLenum cap); GLAPI void APIENTRY glMatrixMode(GLenum mode); -GLAPI void APIENTRY glLoadIdentity(); +GLAPI void APIENTRY glLoadIdentity(void); GLAPI void APIENTRY glLoadMatrixf(const GLfloat *m); GLAPI void APIENTRY glLoadTransposeMatrixf(const GLfloat *m); GLAPI void APIENTRY glMultMatrixf(const GLfloat *m); GLAPI void APIENTRY glMultTransposeMatrixf(const GLfloat *m); -GLAPI void APIENTRY glPushMatrix(); -GLAPI void APIENTRY glPopMatrix(); +GLAPI void APIENTRY glPushMatrix(void); +GLAPI void APIENTRY glPopMatrix(void); GLAPI void APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z); #define glTranslated glTranslatef