Mesa (master): dri: drop stray includes and typedef

George Sapountzis gsap7 at kemper.freedesktop.org
Fri Nov 4 21:34:25 UTC 2011


Module: Mesa
Branch: master
Commit: 3e80a3431571e0ae9fb1ef13367bba559139c6d2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e80a3431571e0ae9fb1ef13367bba559139c6d2

Author: George Sapountzis <gsapountzis at gmail.com>
Date:   Thu Nov  3 14:38:31 2011 +0200

dri: drop stray includes and typedef

---

 src/mesa/drivers/dri/common/dri_util.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index 13ba061..eb5b5d9 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -15,13 +15,6 @@
  */
 
 
-#include <assert.h>
-#include <stdarg.h>
-#include <stdio.h>
-
-#include "main/imports.h"
-
-#include <drm.h>
 #include <xf86drm.h>
 #include "dri_util.h"
 #include "utils.h"
@@ -37,10 +30,6 @@ PUBLIC const char __dri2ConfigOptions[] =
 
 static const uint __dri2NConfigOptions = 1;
 
-#ifndef GLX_OML_sync_control
-typedef GLboolean ( * PFNGLXGETMSCRATEOMLPROC) (__DRIdrawable *drawable, int32_t *numerator, int32_t *denominator);
-#endif
-
 static void dri_get_drawable(__DRIdrawable *pdp);
 static void dri_put_drawable(__DRIdrawable *pdp);
 




More information about the mesa-commit mailing list