diff libmpdvdkit2/dvd_input.c @ 14607:7a80c6ac5058

several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x patch by Alexander Strange <astrange ithinksw.com>
author iive
date Sat, 29 Jan 2005 12:24:43 +0000
parents 12615e408fb9
children 25df9508f9a8
line wrap: on
line diff
--- a/libmpdvdkit2/dvd_input.c	Fri Jan 28 10:12:28 2005 +0000
+++ b/libmpdvdkit2/dvd_input.c	Sat Jan 29 12:24:43 2005 +0000
@@ -34,6 +34,12 @@
 int           (*DVDcss_read)  (dvdcss_handle, void *, int, int);
 char *        (*DVDcss_error) (dvdcss_handle);
 
+dvd_input_t (*DVDinput_open)  (const char *);
+int         (*DVDinput_close) (dvd_input_t);
+int         (*DVDinput_seek)  (dvd_input_t, int, int);
+int         (*DVDinput_title) (dvd_input_t, int); 
+int         (*DVDinput_read)  (dvd_input_t, void *, int, int);
+char *      (*DVDinput_error) (dvd_input_t);
 
 /* The DVDinput handle, add stuff here for new input methods. */
 struct dvd_input_s {