21 lines
481 B
Text
21 lines
481 B
Text
$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)
|