ref: eb528eef3204462f53c7f42612342be4a482d220
parent: 0d1ae57167287d5525984239447cb399e62c4d30
author: Diego Biurrun <diego@biurrun.de>
date: Wed Oct 22 09:10:51 EDT 2014
error: Drop unnecessary macro indirection for print_error().
--- a/src/error.c
+++ b/src/error.c
@@ -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 )
{
--- a/src/libdvdcss.h
+++ b/src/libdvdcss.h
@@ -87,7 +87,6 @@
/*****************************************************************************
* 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 @@
}
#endif
-void _print_error ( dvdcss_t, char * );
+void print_error ( dvdcss_t, char * );
#endif /* DVDCSS_LIBDVDCSS_H */