openbsd-ports/x11/olvwm/patches/patch-gif_c
2004-01-28 20:58:53 +00:00

24 lines
570 B
Plaintext

$OpenBSD: patch-gif_c,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- gif.c.orig 1994-01-13 22:36:06.000000000 +0100
+++ gif.c 2004-01-28 21:49:10.000000000 +0100
@@ -56,6 +56,10 @@ struct {
int disposal;
} Gif89 = { -1, -1, -1, 0 };
+static ReadColorMap();
+static DoExtension();
+static GetDataBlock();
+
extern XImage* ReadImage();
XImage *ReadGIF(dpy, fd, pNcolors, pColors)
@@ -456,7 +460,7 @@ int input_code_size;
return code;
}
-static XImage*
+extern XImage*
ReadImage(dpy, fd, len, height, cmap, interlace, ignore)
Display *dpy;
FILE *fd;