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

diego subversion at mplayerhq.hu
Fri Aug 22 22:53:46 CEST 2008


Author: diego
Date: Fri Aug 22 22:53:44 2008
New Revision: 27476

Log:
Remove duplicate vsscanf fallback implementation, we have another in osdep/.


Modified:
   trunk/loader/win32.c

Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	(original)
+++ trunk/loader/win32.c	Fri Aug 22 22:53:44 2008
@@ -75,19 +75,6 @@ for DLL to know too much about its envir
 #endif
 #include "osdep/mmap_anon.h"
 
-#ifndef HAVE_VSSCANF
-/* system has no vsscanf.  try to provide one */
-static int vsscanf( const char *str, const char *format, va_list ap)
-{
-    long p1 = va_arg(ap, long);
-    long p2 = va_arg(ap, long);
-    long p3 = va_arg(ap, long);
-    long p4 = va_arg(ap, long);
-    long p5 = va_arg(ap, long);
-    return sscanf(str, format, p1, p2, p3, p4, p5);
-}
-#endif
-
 char* def_path = WIN32_PATH;
 
 static void do_cpuid(unsigned int ax, unsigned int *regs)



More information about the MPlayer-cvslog mailing list