summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-09 14:56:09 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-09 14:56:09 +0000
commitc3249660596f7ef8c7a194b1b2d2b18d2dde9914 (patch)
tree67f1d5f6b5660d324fa3df4d067cb00fcfb02d2d /libvo
parent6d01235f44a7aa915965c2b2a2b1190397f06669 (diff)
downloadmpv-c3249660596f7ef8c7a194b1b2d2b18d2dde9914.tar.bz2
mpv-c3249660596f7ef8c7a194b1b2d2b18d2dde9914.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27444 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_x11.c3
-rw-r--r--libvo/vo_xvmc.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 5f139287d2..2343a16f72 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -29,9 +29,6 @@ static int Shmem_Flag;
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"
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c
index 3ad41b5ac9..8e0fbbb15d 100644
--- a/libvo/vo_xvmc.c
+++ b/libvo/vo_xvmc.c
@@ -131,8 +131,6 @@ const LIBVO_EXTERN(xvmc);
//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