summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-04-05 19:01:51 +0300
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-04-05 19:01:51 +0300
commit487f7a73cbb8534ab163ef8a3549caa71684b607 (patch)
tree97abb35a3be5be0ca73c97645abc47616c2021b4 /src
parentaa1c79eaea96283e3ac7bae513b8d7535b875ce9 (diff)
Remove SI imports/exports remnants.
Diffstat (limited to 'src')
-rw-r--r--src/glx/mini/driver.h2
-rw-r--r--src/mesa/drivers/dri/common/dri_util.h2
-rw-r--r--src/mesa/main/imports.c8
-rw-r--r--src/mesa/main/mtypes.h2
4 files changed, 1 insertions, 13 deletions
diff --git a/src/glx/mini/driver.h b/src/glx/mini/driver.h
index 9e8bf6fa7c..39c0f9b5fa 100644
--- a/src/glx/mini/driver.h
+++ b/src/glx/mini/driver.h
@@ -47,8 +47,6 @@
#ifndef _driver_H_
#define _driver_H_
-#define CAPI /* XXX this should be globally defined somewhere */
-
#include "GL/gl.h"
#include "GL/internal/glcore.h"
diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h
index e43e653250..8639535abb 100644
--- a/src/mesa/drivers/dri/common/dri_util.h
+++ b/src/mesa/drivers/dri/common/dri_util.h
@@ -49,8 +49,6 @@
#ifndef _DRI_UTIL_H_
#define _DRI_UTIL_H_
-#define CAPI /* XXX this should be globally defined somewhere */
-
#include <GL/gl.h>
#include "drm.h"
#include "drm_sarea.h"
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 2a13250238..9de7a89c99 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -12,14 +12,6 @@
*
* Eventually, I want to move roll the glheader.h file into this.
*
- * The OpenGL SI's __GLimports structure allows per-context specification of
- * replacements for the standard C lib functions. In practice that's probably
- * never needed; compile-time replacements are far more likely.
- *
- * The _mesa_*() functions defined here don't in general take a context
- * parameter. I guess we can change that someday, if need be.
- * So for now, the __GLimports stuff really isn't used.
- *
* \todo Functions still needed:
* - scanf
* - qsort
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 58efa0b4f5..89cdc79089 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -36,7 +36,7 @@
#include "glheader.h"
-#include <GL/internal/glcore.h> /* GLimports/GLexports/GLcontextModes */
+#include <GL/internal/glcore.h> /* __GLcontextModes (GLvisual) */
#include "config.h" /* Hardwired parameters */
#include "glapitable.h"
#include "glthread.h"