fix broken varargs declaration turned up by gcc 3.0; ok brad@

This commit is contained in:
naddy 2002-02-01 18:15:15 +00:00
parent 8492c41ae9
commit 3af8b50055

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-lib_qprintf_c,v 1.1 2002/02/01 18:15:15 naddy Exp $
--- lib/qprintf.c.orig Sun Feb 6 17:45:07 2000
+++ lib/qprintf.c Fri Feb 1 14:31:17 2002
@@ -34,7 +34,8 @@ int GifQuietPrint = TRUE;
* Same as fprintf to stderr but with optional print. *
*****************************************************************************/
#ifdef HAVE_VARARGS_H
-void GifQprintf(int va_alist)
+void GifQprintf(va_alist)
+va_dcl
{
char *Format, Line[128];
va_list ArgPtr;