summaryrefslogtreecommitdiffstats
path: root/lib/libgnumalloc/cfree.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-09-02 13:15:01 +0000
committerphk <phk@FreeBSD.org>1996-09-02 13:15:01 +0000
commita74ea45a26f38149f5e54d1f975524fbce7ab15b (patch)
tree15ffe6e9721901cd9f3b5c3c94b47b7134690ed3 /lib/libgnumalloc/cfree.c
parent59f8ce79a3d600161bcc0b3dd607ec17c06cc26f (diff)
downloadFreeBSD-src-a74ea45a26f38149f5e54d1f975524fbce7ab15b.zip
FreeBSD-src-a74ea45a26f38149f5e54d1f975524fbce7ab15b.tar.gz
Add cfree,
Move to usr/lib/compat
Diffstat (limited to 'lib/libgnumalloc/cfree.c')
-rw-r--r--lib/libgnumalloc/cfree.c11
1 files changed, 10 insertions, 1 deletions
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