From 3fe2af23ef323b9b25b54e171aa29c7004fe05fd Mon Sep 17 00:00:00 2001
From: Daniel Borca <dborca@users.sourceforge.net>
Date: Thu, 23 Oct 2003 12:02:36 +0000
Subject: added a few missing GLAPIENTRYs to make MinGW compile again

---
 src/mesa/main/lines.c   | 2 +-
 src/mesa/main/program.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c
index 122a27f4804..c30d9ac109e 100644
--- a/src/mesa/main/lines.c
+++ b/src/mesa/main/lines.c
@@ -122,7 +122,7 @@ _mesa_LineStipple( GLint factor, GLushort pattern )
  * Initializes __GLcontextRec::Line and line related constants in
  * __GLcontextRec::Const.
  */
-void _mesa_init_line( GLcontext * ctx )
+void GLAPIENTRY _mesa_init_line( GLcontext * ctx )
 {
    /* Line group */
    ctx->Line.SmoothFlag = GL_FALSE;
diff --git a/src/mesa/main/program.c b/src/mesa/main/program.c
index 4231b220153..546c0540032 100644
--- a/src/mesa/main/program.c
+++ b/src/mesa/main/program.c
@@ -791,7 +791,7 @@ _mesa_load_state_parameters(GLcontext *ctx,
  * \note Called from the GL API dispatcher by both glBindProgramNV
  * and glBindProgramARB.
  */
-void
+void GLAPIENTRY
 _mesa_BindProgram(GLenum target, GLuint id)
 {
    struct program *prog;
@@ -945,7 +945,7 @@ _mesa_DeletePrograms(GLsizei n, const GLuint *ids)
  * \note Not compiled into display lists.
  * \note Called by both glGenProgramsNV and glGenProgramsARB.
  */
-void
+void GLAPIENTRY
 _mesa_GenPrograms(GLsizei n, GLuint *ids)
 {
    GLuint first;
@@ -990,7 +990,7 @@ _mesa_GenPrograms(GLsizei n, GLuint *ids)
  * \param id is the program identifier
  * \return GL_TRUE if id is a program, else GL_FALSE.
  */
-GLboolean
+GLboolean GLAPIENTRY
 _mesa_IsProgram(GLuint id)
 {
    struct program *prog;
-- 
cgit v1.2.3