From dc706f1f441dbdaa5214115bbe398f1fdb59e9c3 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Thu, 6 Feb 1997 22:57:04 +0000 Subject: * remove reference to non-existant fat.c. * make cread.c work with libz again. --- sys/lib/libsa/cread.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sys/lib/libsa/cread.c') diff --git a/sys/lib/libsa/cread.c b/sys/lib/libsa/cread.c index b5fdbc9ee99..93e9204f413 100644 --- a/sys/lib/libsa/cread.c +++ b/sys/lib/libsa/cread.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cread.c,v 1.3 1997/02/06 06:28:52 mickey Exp $ */ +/* $OpenBSD: cread.c,v 1.4 1997/02/06 22:57:03 downsj Exp $ */ /* $NetBSD: cread.c,v 1.2 1997/02/04 18:38:20 thorpej Exp $ */ /* @@ -47,7 +47,7 @@ */ #include "stand.h" -#include "zlib.h" +#include "../libz/zlib.h" #define EOF (-1) /* needed by compression code */ @@ -91,12 +91,11 @@ unsigned size; return(alloc(items * size)); } -void zfree (opaque, ptr, size) +void zcfree (opaque, ptr) void *opaque; void *ptr; -size_t size; { - free(ptr, size); + free(ptr, 0); /* XXX works only with modified allocator */ } static int get_byte(s) -- cgit v1.2.3