comparison libvo/vo_xv.c @ 24239:a454c719a099

warning fix: vo_xv.c:63: warning: redundant redeclaration of 'XShmGetEventBase' /usr/include/X11/extensions/XShm.h:80: warning: previous declaration of 'XShmGetEventBase' was here
author diego
date Tue, 28 Aug 2007 10:53:51 +0000
parents d43cda21236d
children 3aee342be929
comparison
equal deleted inserted replaced
24238:797799e53a68 24239:a454c719a099
57 LIBVO_EXTERN(xv) 57 LIBVO_EXTERN(xv)
58 #ifdef HAVE_SHM 58 #ifdef HAVE_SHM
59 #include <sys/ipc.h> 59 #include <sys/ipc.h>
60 #include <sys/shm.h> 60 #include <sys/shm.h>
61 #include <X11/extensions/XShm.h> 61 #include <X11/extensions/XShm.h>
62 /* since it doesn't seem to be defined on some platforms */
63 int XShmGetEventBase(Display *);
64 62
65 static XShmSegmentInfo Shminfo[NUM_BUFFERS]; 63 static XShmSegmentInfo Shminfo[NUM_BUFFERS];
66 static int Shmem_Flag; 64 static int Shmem_Flag;
67 #endif 65 #endif
68 66