summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-07-31 14:11:31 +0200
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-07-31 19:16:30 +0200
commit110dda0e3f451c87bfa9a8f0e023547d1ed3803f (patch)
treea6fdacf7856e9d9b1224c78c66d22617be5b12c3 /src
parent58acc32a5e29c0c08bc58bd8348c5730db802019 (diff)
mesa: drop unnecessary GLAPIENTRY to _mesa_init_line()
Noticed randomly. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/lines.c2
-rw-r--r--src/mesa/main/lines.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c
index d83a7d88d12..4df658794d6 100644
--- a/src/mesa/main/lines.c
+++ b/src/mesa/main/lines.c
@@ -125,7 +125,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 fa15e50ac92..9a16069a6d5 100644
--- a/src/mesa/main/lines.h
+++ b/src/mesa/main/lines.h
@@ -43,7 +43,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