# HG changeset patch # User diego # Date 1218293769 0 # Node ID 7d8105fefe97497edd04e4bdc90cbc4a5827a470 # Parent c38f90ae922aee2bd53b866bc55d4ef6533fba9a 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. diff -r c38f90ae922a -r 7d8105fefe97 libvo/vo_x11.c --- 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" diff -r c38f90ae922a -r 7d8105fefe97 libvo/vo_xvmc.c --- 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