changeset 27412:7d8105fefe97

Remove duplicated prototype for XShmGetEventBase(), because - it is used in other places without checking, - it is a workaround for a bug elsewhere, - if the problem is real at all, there should be a proper configure check.
author diego
date Sat, 09 Aug 2008 14:56:09 +0000
parents c38f90ae922a
children 897f15571922
files libvo/vo_x11.c libvo/vo_xvmc.c
diffstat 2 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_x11.c	Sat Aug 09 13:53:19 2008 +0000
+++ b/libvo/vo_x11.c	Sat Aug 09 14:56:09 2008 +0000
@@ -29,9 +29,6 @@
 static XShmSegmentInfo Shminfo[1];
 static int gXErrorFlag;
 static int CompletionType = -1;
-
-/* since it doesn't seem to be defined on some platforms */
-int XShmGetEventBase(Display *);
 #endif
 
 #include "sub.h"
--- a/libvo/vo_xvmc.c	Sat Aug 09 13:53:19 2008 +0000
+++ b/libvo/vo_xvmc.c	Sat Aug 09 14:56:09 2008 +0000
@@ -131,8 +131,6 @@
 
 //shm stuff from vo_xv
 #ifdef HAVE_SHM
-/* since it doesn't seem to be defined on some platforms */
-int XShmGetEventBase(Display*);
 static XShmSegmentInfo Shminfo;
 static int Shmem_Flag;
 #endif