Mesa (master): vl: fix some missing prototypes error

Christian König deathsimple at kemper.freedesktop.org
Tue Jan 31 16:12:49 UTC 2012


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

Author: Christian König <deathsimple at vodafone.de>
Date:   Tue Jan 31 14:49:07 2012 +0100

vl: fix some missing prototypes error

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45444
Signed-off-by: Christian König <deathsimple at vodafone.de>

---

 src/gallium/state_trackers/vdpau/preemption.c |    1 +
 src/gallium/winsys/g3dvl/dri/XF86dri.c        |   27 -------------------------
 2 files changed, 1 insertions(+), 27 deletions(-)

diff --git a/src/gallium/state_trackers/vdpau/preemption.c b/src/gallium/state_trackers/vdpau/preemption.c
index 67a3ce6..2bcaa7e 100644
--- a/src/gallium/state_trackers/vdpau/preemption.c
+++ b/src/gallium/state_trackers/vdpau/preemption.c
@@ -26,6 +26,7 @@
  **************************************************************************/
 
 #include <vdpau/vdpau.h>
+#include "vdpau_private.h"
 
 /**
  * A callback to notify the client application that a device's display has
diff --git a/src/gallium/winsys/g3dvl/dri/XF86dri.c b/src/gallium/winsys/g3dvl/dri/XF86dri.c
index 831a760..648f9af 100644
--- a/src/gallium/winsys/g3dvl/dri/XF86dri.c
+++ b/src/gallium/winsys/g3dvl/dri/XF86dri.c
@@ -589,30 +589,3 @@ PUBLIC Bool XF86DRIGetDeviceInfo(dpy, screen, hFrameBuffer,
     TRACE("GetDeviceInfo... return True");
     return True;
 }
-
-PUBLIC Bool XF86DRIOpenFullScreen(dpy, screen, drawable)
-    Display* dpy;
-    int screen;
-    Drawable drawable;
-{
-    /* This function and the underlying X protocol are deprecated.
-     */
-    (void) dpy;
-    (void) screen;
-    (void) drawable;
-    return False;
-}
-
-PUBLIC Bool XF86DRICloseFullScreen(dpy, screen, drawable)
-    Display* dpy;
-    int screen;
-    Drawable drawable;
-{
-    /* This function and the underlying X protocol are deprecated.
-     */
-    (void) dpy;
-    (void) screen;
-    (void) drawable;
-    return True;
-}
-




More information about the mesa-commit mailing list