summaryrefslogtreecommitdiffstats
path: root/lib/libgnumalloc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libgnumalloc')
-rw-r--r--lib/libgnumalloc/Makefile3
-rw-r--r--lib/libgnumalloc/cfree.c11
2 files changed, 12 insertions, 2 deletions
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);
+}
OpenPOWER on IntegriCloud