comparison 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
comparison
equal deleted inserted replaced
14606:1182e96d172f 14607:7a80c6ac5058
32 int (*DVDcss_seek) (dvdcss_handle, int, int); 32 int (*DVDcss_seek) (dvdcss_handle, int, int);
33 int (*DVDcss_title) (dvdcss_handle, int); 33 int (*DVDcss_title) (dvdcss_handle, int);
34 int (*DVDcss_read) (dvdcss_handle, void *, int, int); 34 int (*DVDcss_read) (dvdcss_handle, void *, int, int);
35 char * (*DVDcss_error) (dvdcss_handle); 35 char * (*DVDcss_error) (dvdcss_handle);
36 36
37 dvd_input_t (*DVDinput_open) (const char *);
38 int (*DVDinput_close) (dvd_input_t);
39 int (*DVDinput_seek) (dvd_input_t, int, int);
40 int (*DVDinput_title) (dvd_input_t, int);
41 int (*DVDinput_read) (dvd_input_t, void *, int, int);
42 char * (*DVDinput_error) (dvd_input_t);
37 43
38 /* The DVDinput handle, add stuff here for new input methods. */ 44 /* The DVDinput handle, add stuff here for new input methods. */
39 struct dvd_input_s { 45 struct dvd_input_s {
40 /* libdvdcss handle */ 46 /* libdvdcss handle */
41 dvdcss_handle dvdcss; 47 dvdcss_handle dvdcss;