fix the two nits that prevent clang from compiling junk

This commit is contained in:
espie 2017-04-28 10:01:01 +00:00
parent 99d31b7ebe
commit 8fc4e4103d
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-image_rlelib_c,v 1.1 2017/04/28 10:01:01 espie Exp $
--- image/rlelib.c.orig Fri Apr 28 11:54:42 2017
+++ image/rlelib.c Fri Apr 28 11:55:44 2017
@@ -12,7 +12,6 @@
#include <stdio.h>
#include <math.h>
-#include <varargs.h>
#include <ctype.h>
#include "image.h" /* need ZFILE definition */

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mng_c,v 1.1 2017/04/28 10:01:01 espie Exp $
--- mng.c.orig Fri Apr 28 11:52:25 2017
+++ mng.c Fri Apr 28 11:53:19 2017
@@ -43,6 +43,8 @@ typedef struct {
mng_uint32 delay; /* ticks to wait before resuming decode */
} mngstuff;
+void mng_window_setup(mngstuff *, int, int, int, int);
+
/* callbacks for the mng decoder */
/* memory allocation; data must be zeroed */