summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/glapi/glapi.c4
-rw-r--r--src/mesa/main/glheader.h8
2 files changed, 9 insertions, 3 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index 73fc30443e..89d47d8e9f 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -1,4 +1,4 @@
-/* $Id: glapi.c,v 1.4 1999/11/12 00:06:07 brianp Exp $ */
+/* $Id: glapi.c,v 1.5 1999/11/12 16:46:56 kendallb Exp $ */
/*
* Mesa 3-D graphics library
@@ -2453,7 +2453,7 @@ void GLAPIENTRY glWindowPos4dvMESA(const GLdouble *p)
#ifdef _GLAPI_MESA_resize_buffers
-GLAPI void GLAPIENTRY glResizeBuffersMESA(void)
+void GLAPIENTRY glResizeBuffersMESA(void)
{
DISPATCH(ResizeBuffersMESA)();
}
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index f4930cb01f..ea1a6b985f 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -1,4 +1,4 @@
-/* $Id: glheader.h,v 1.1 1999/11/11 01:22:26 brianp Exp $ */
+/* $Id: glheader.h,v 1.2 1999/11/12 16:46:56 kendallb Exp $ */
/*
* Mesa 3-D graphics library
@@ -61,5 +61,11 @@
#include <GL/gl.h>
+/* Disable unreachable code warnings for Watcom C++ */
+
+#ifdef __WATCOMC__
+#pragma disable_message(201)
+#endif
+
#endif