mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 18:06:18 +00:00
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
This commit is contained in:
parent
6d01235f44
commit
c324966059
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user