mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Add cfree,
Move to usr/lib/compat
This commit is contained in:
parent
0c4c6c1235
commit
b7bc7f6885
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17999
@ -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
|
||||
|
@ -1 +1,10 @@
|
||||
int fake_a_gnumalloc_lib() { return 1; }
|
||||
int
|
||||
fake_a_gnumalloc_lib()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
void cfree(void *foo)
|
||||
{
|
||||
free(foo);
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -1 +1,10 @@
|
||||
int fake_a_gnumalloc_lib() { return 1; }
|
||||
int
|
||||
fake_a_gnumalloc_lib()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
void cfree(void *foo)
|
||||
{
|
||||
free(foo);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user