Commit 8331d8da authored by Diego Biurrun's avatar Diego Biurrun
Browse files

Drop deprecated and useless dvdcss_interface_2 variable from the API

parent 7381c95c
...@@ -4,6 +4,7 @@ Changes between 1.2.13 and 1.3.0: ...@@ -4,6 +4,7 @@ Changes between 1.2.13 and 1.3.0:
* Dropped deprecated, undocumented API: * Dropped deprecated, undocumented API:
- the function dvdcss_title() - the function dvdcss_title()
- the type dvdcss_handle - the type dvdcss_handle
- the variable dvdcss_interface_2
* Drop support for Windows 98 and Windows NT 4.0. * Drop support for Windows 98 and Windows NT 4.0.
Windows 98 SE with IE 5.0 and Windows NT 4.0 SP4 with IE 5.0 are required. Windows 98 SE with IE 5.0 and Windows NT 4.0 SP4 with IE 5.0 are required.
......
...@@ -65,11 +65,6 @@ typedef struct dvdcss_s* dvdcss_t; ...@@ -65,11 +65,6 @@ typedef struct dvdcss_s* dvdcss_t;
#define LIBDVDCSS_EXPORT extern #define LIBDVDCSS_EXPORT extern
#endif #endif
/*
* Our version number. The variable name contains the interface version.
*/
LIBDVDCSS_EXPORT char * dvdcss_interface_2;
/* /*
* Exported prototypes. * Exported prototypes.
......
...@@ -136,18 +136,6 @@ ...@@ -136,18 +136,6 @@
#define mkdir(a, b) _mkdir(a) #define mkdir(a, b) _mkdir(a)
#endif #endif
/**
* \brief Symbol for version checks.
*
* The name of this symbol contains the library major number, which makes it
* easy to check which \e libdvdcss development headers are installed on the
* system with tools such as autoconf.
*
* The variable itself contains the exact version number of the library,
* which can be useful for specific feature needs.
*/
char * dvdcss_interface_2 = VERSION;
/** /**
* \brief Open a DVD device or directory and return a dvdcss instance. * \brief Open a DVD device or directory and return a dvdcss instance.
* *
......
...@@ -23,9 +23,6 @@ int main( int i_argc, char *ppsz_argv[] ) ...@@ -23,9 +23,6 @@ int main( int i_argc, char *ppsz_argv[] )
unsigned int i_sector; unsigned int i_sector;
int i_ret; int i_ret;
/* Print version number */
printf( "cool, I found libdvdcss version %s\n", dvdcss_interface_2 );
/* Check for 2 arguments */ /* Check for 2 arguments */
if( i_argc != 3 ) if( i_argc != 3 )
{ {
......
...@@ -276,9 +276,6 @@ int main(int argc, char *argv[]) ...@@ -276,9 +276,6 @@ int main(int argc, char *argv[])
return -1; return -1;
} }
/* Print version number */
printf( "found libdvdcss version %s\n", dvdcss_interface_2 );
/* TODO: use dvdcss_open instead of open */ /* TODO: use dvdcss_open instead of open */
if( (fd = open(device_name, O_RDONLY | O_NONBLOCK)) < 0 ) { if( (fd = open(device_name, O_RDONLY | O_NONBLOCK)) < 0 ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment