diff options
-rw-r--r-- | include/xine.h.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index e603cb2b9..fba66fe01 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.110 2003/12/10 00:54:25 hadess Exp $ + * $Id: xine.h.in,v 1.111 2003/12/21 14:11:09 mroi Exp $ * * public xine-lib (libxine) interface and documentation * @@ -744,8 +744,13 @@ int xine_get_log_section_count(xine_t *self); const char *const *xine_get_log_names(xine_t *self); /* print some log information to <buf> section */ +#ifndef __GNUC__ void xine_log (xine_t *self, int buf, const char *format, ...); +#else +void xine_log (xine_t *self, int buf, + const char *format, ...) __attribute__ ((__format__(printf, 3, 4))); +#endif /* get log messages of specified section */ const char *const *xine_get_log (xine_t *self, int buf); |