This website requires JavaScript.
Explore
Help
Sign In
jimzah
/
freebsd-src
Watch
1
Star
0
Fork
0
You've already forked freebsd-src
mirror of
https://github.com/freebsd/freebsd-src.git
synced
2024-12-02 19:22:47 +00:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
10d872339a
freebsd-src
/
include
/
malloc.h
7 lines
102 B
C
Raw
Normal View
History
Unescape
Escape
Make include/malloc.h usable again. Lot of third-party Linux code uses #include <malloc.h>, expecting to find the malloc extensions there. Instead of trying to fight them, accept that attempt to deprecate the header causes more troubles than solves potential portability issues, and provide our jemalloc extensions. PR: 155429 Reviewed by: imp, jhibbits, dab, hselasky, philip, emaste, jilles Exp-run by: antoine (PR 245366) Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D24297
2020-05-12 19:17:57 +01:00
/*-
*
This
file
is
in
the
public
domain
.
*
$
FreeBSD
$
*/
Traditionally work in the -traditional case. Submitted by: joerg
2001-11-07 23:14:31 +00:00
#
include
<stdlib.h>
Make include/malloc.h usable again. Lot of third-party Linux code uses #include <malloc.h>, expecting to find the malloc extensions there. Instead of trying to fight them, accept that attempt to deprecate the header causes more troubles than solves potential portability issues, and provide our jemalloc extensions. PR: 155429 Reviewed by: imp, jhibbits, dab, hselasky, philip, emaste, jilles Exp-run by: antoine (PR 245366) Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D24297
2020-05-12 19:17:57 +01:00
#
include
<malloc_np.h>
Reference in New Issue
Copy Permalink