From a74ea45a26f38149f5e54d1f975524fbce7ab15b Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 2 Sep 1996 13:15:01 +0000 Subject: Add cfree, Move to usr/lib/compat --- lib/libgnumalloc/Makefile | 3 ++- lib/libgnumalloc/cfree.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'lib/libgnumalloc') diff --git a/lib/libgnumalloc/Makefile b/lib/libgnumalloc/Makefile index 01fca56..98573e7 100644 --- a/lib/libgnumalloc/Makefile +++ b/lib/libgnumalloc/Makefile @@ -1,6 +1,7 @@ -# $Id: Makefile,v 1.2 1996/02/12 12:40:04 phk Exp $ +# $Id: Makefile,v 1.3 1996/08/30 01:08:03 peter Exp $ LIB= fakegnumalloc +LIBDIR= /usr/lib/compat SHLIB_MAJOR= 2 SHLIB_MINOR= 0 SRCS= fakegnumalloc.c diff --git a/lib/libgnumalloc/cfree.c b/lib/libgnumalloc/cfree.c index abaf931..4554903 100644 --- a/lib/libgnumalloc/cfree.c +++ b/lib/libgnumalloc/cfree.c @@ -1 +1,10 @@ -int fake_a_gnumalloc_lib() { return 1; } +int +fake_a_gnumalloc_lib() +{ +return 1; +} + +void cfree(void *foo) +{ +free(foo); +} -- cgit v1.1