[Mesa-dev] [PATCH] mesa: drop unnecessary GLAPIENTRY to _mesa_init_line()

Samuel Pitoiset samuel.pitoiset at gmail.com
Mon Jul 31 12:11:31 UTC 2017


Noticed randomly.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/mesa/main/lines.c | 2 +-
 src/mesa/main/lines.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c
index c6931eca69..78d3a7729b 100644
--- a/src/mesa/main/lines.c
+++ b/src/mesa/main/lines.c
@@ -140,7 +140,7 @@ _mesa_LineStipple( GLint factor, GLushort pattern )
  * Initializes __struct gl_contextRec::Line and line related constants in
  * __struct gl_contextRec::Const.
  */
-void GLAPIENTRY
+void
 _mesa_init_line( struct gl_context * ctx )
 {
    ctx->Line.SmoothFlag = GL_FALSE;
diff --git a/src/mesa/main/lines.h b/src/mesa/main/lines.h
index bfb82b01e8..78a405cbac 100644
--- a/src/mesa/main/lines.h
+++ b/src/mesa/main/lines.h
@@ -46,7 +46,7 @@ _mesa_LineWidth( GLfloat width );
 extern void GLAPIENTRY
 _mesa_LineStipple( GLint factor, GLushort pattern );
 
-extern void GLAPIENTRY 
+extern void
 _mesa_init_line( struct gl_context * ctx );
 
 #endif
-- 
2.13.3



More information about the mesa-dev mailing list