[MPlayer-cvslog] r27396 - trunk/loader/win32.c

Diego Biurrun diego at biurrun.de
Fri Aug 22 22:41:38 CEST 2008


On Fri, Aug 22, 2008 at 07:28:38PM +0200, Reimar Döffinger wrote:
> On Sat, Aug 02, 2008 at 07:09:14PM +0200, diego wrote:
> > 
> > Log:
> > Do not provide a prototype for vsscanf when vsscanf is available.
> > Fixes a redundant redeclaration warning.
> > 
> > --- trunk/loader/win32.c	(original)
> > +++ trunk/loader/win32.c	Sat Aug  2 19:09:13 2008
> > @@ -75,9 +75,7 @@ for DLL to know too much about its envir
> >  
> > -#if HAVE_VSSCANF
> > -int vsscanf( const char *str, const char *format, va_list ap);
> > -#else
> > +#ifndef HAVE_VSSCANF
> >  /* system has no vsscanf.  try to provide one */
> >  static int vsscanf( const char *str, const char *format, va_list ap)
> 
> Why is this there at all anyway? I would have thought osdep/vsscanf.c
> provides that...

Indeed, it is code duplication.  I will remove it shortly.

Diego



More information about the MPlayer-cvslog mailing list