mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Add cfree,
Move to usr/lib/compat
This commit is contained in:
parent
0c4c6c1235
commit
b7bc7f6885
4 changed files with 24 additions and 4 deletions
|
|
@ -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 a new issue