summaryrefslogtreecommitdiff
path: root/print/jcabc2ps/patches/patch-misc_c
blob: dc78da0eef409a4d874e01712913f0dcacf8bc78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-misc_c,v 1.2 2012/11/19 03:04:22 joerg Exp $

Use standard headers.

--- misc.c.orig	2004-05-18 20:56:52.000000000 +0000
+++ misc.c
@@ -1,3 +1,6 @@
+#include <string.h>
+#include <stdlib.h>
+
 #include "jcabc2ps.h"
 #include "misc.h"
 
@@ -37,6 +40,7 @@ int FindChunk(
 * we find it, we use its old entry.  We also complain if we are asked to make
 * a dubious change of usage.
 */
+void
 NewChunk(
 	void *p,	// Pointer to chunk
 	int   s,	// Size of chunk (bytes)