From d436f5f090abcb674ddd6afa605bce9b29a5fc1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Mon, 11 Sep 2006 11:11:02 +0000 Subject: Add stdarg.h header to build on x86 glibc, and rename the parameter this to self to allow including xine.h from C++. CVS patchset: 8219 CVS date: 2006/09/11 11:11:02 --- include/xine.h.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/xine.h.in b/include/xine.h.in index 3c7582761..2adf26c96 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.153 2006/09/10 19:50:09 dgp85 Exp $ + * $Id: xine.h.in,v 1.154 2006/09/11 11:11:02 dgp85 Exp $ * * public xine-lib (libxine) interface and documentation * @@ -50,6 +50,7 @@ extern "C" { #include #include #include +#include #ifdef WIN32 #include @@ -791,12 +792,12 @@ const char *const *xine_get_log_names(xine_t *self); #ifndef __GNUC__ void xine_log (xine_t *self, int buf, const char *format, ...); -void xine_vlog(xine_t *this, int buf, +void xine_vlog(xine_t *self, int buf, const char *format, va_list args); #else void xine_log (xine_t *self, int buf, const char *format, ...) __attribute__ ((__format__(printf, 3, 4))); -void xine_vlog(xine_t *this, int buf, +void xine_vlog(xine_t *self, int buf, const char *format, va_list args) __attribute__ ((__format__(printf, 3, 0))); #endif -- cgit v1.2.3