summaryrefslogtreecommitdiff
path: root/graphics/libungif/patches/patch-ac
blob: 58177f67e562d4279d9ea1e44931a0260232ba47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ac,v 1.3 2002/12/04 07:04:37 thorpej Exp $

--- lib/qprintf.c.orig	Tue Dec  3 22:51:36 2002
+++ lib/qprintf.c	Tue Dec  3 22:57:23 2002
@@ -34,13 +34,14 @@
 * Same as fprintf to stderr but with optional print.			     *
 *****************************************************************************/
 #ifdef HAVE_VARARGS_H
-void GifQprintf(int va_alist)
+void GifQprintf(Format, va_alist)
+    char *Format;
+    va_dcl
 {
-    char *Format, Line[128];
+    char Line[128];
     va_list ArgPtr;
 
     va_start(ArgPtr);
-    Format = va_arg(ArgPtr, char *);
 #else
 void GifQprintf(char *Format, ...)
 {