[libdvdcss-devel] error: Drop unnecessary macro indirection for print_error().

[email protected] (Diego Biurrun)
Newsgroups gmane.comp.video.videolan.libdvdcss,gmane.comp.video.videolan.libdvdcss.devel
Message-ID <[email protected]>
libdvdcss | branch: master | Diego Biurrun <[email protected]> | Wed Oct 22 13:10:51 2014 +0200| [eb528eef3204462f53c7f42612342be4a482d220] | committer: Diego Biurrun

error: Drop unnecessary macro indirection for print_error().

> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=eb528eef3204462f53c7f42612342be4a482d220
---

 src/error.c     |    2 +-
 src/libdvdcss.h |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/error.c b/src/error.c
index 7ea62ae..9d5f242 100644
--- 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 )
     {
diff --git a/src/libdvdcss.h b/src/libdvdcss.h
index 2faaa5d..71e8daf 100644
--- a/src/libdvdcss.h
+++ b/src/libdvdcss.h
@@ -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 */

_______________________________________________
libdvdcss-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvdcss-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.