changeset 27364:4864676b338f

Do not provide a prototype for vsscanf when vsscanf is available. Fixes a redundant redeclaration warning.
author diego
date Sat, 02 Aug 2008 17:09:13 +0000
parents 40057010b1fa
children 13c920fdf7f5
files loader/win32.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
 {