# HG changeset patch # User diego # Date 1217696953 0 # Node ID 4864676b338f61329f3cb1f323b921ef27d637d9 # Parent 40057010b1fab4575fa27ffb7324840497f21cde Do not provide a prototype for vsscanf when vsscanf is available. Fixes a redundant redeclaration warning. diff -r 40057010b1fa -r 4864676b338f loader/win32.c --- a/loader/win32.c Sat Aug 02 16:30:32 2008 +0000 +++ b/loader/win32.c Sat Aug 02 17:09:13 2008 +0000 @@ -75,9 +75,7 @@ #endif #include "osdep/mmap_anon.h" -#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) {