Commit eb528eef authored by Diego Biurrun's avatar Diego Biurrun
Browse files

error: Drop unnecessary macro indirection for print_error().

parent 0d1ae571
......@@ -29,7 +29,7 @@
/*****************************************************************************
* Error messages
*****************************************************************************/
void _print_error( dvdcss_t dvdcss, char *psz_string )
void print_error( dvdcss_t dvdcss, char *psz_string )
{
if( dvdcss->b_errors )
{
......
......@@ -87,7 +87,6 @@ struct dvdcss_s
/*****************************************************************************
* Functions used across the library
*****************************************************************************/
#define print_error(dvdcss,msg) _print_error(dvdcss,msg)
#if defined( _MSC_VER )
#include <stdarg.h>
__forceinline void print_debug(dvdcss_t dvdcss, const char *msg,...)
......@@ -110,6 +109,6 @@ __forceinline void print_debug(dvdcss_t dvdcss, const char *msg,...)
}
#endif
void _print_error ( dvdcss_t, char * );
void print_error ( dvdcss_t, char * );
#endif /* DVDCSS_LIBDVDCSS_H */
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