From c3249660596f7ef8c7a194b1b2d2b18d2dde9914 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 9 Aug 2008 14:56:09 +0000 Subject: 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 --- libvo/vo_x11.c | 3 --- libvo/vo_xvmc.c | 2 -- 2 files changed, 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 -- cgit v1.2.3