HomeFreeBSD

Move zstd malloc()/free()/calloc() macros to stdlib.h.

Description

Move zstd malloc()/free()/calloc() macros to stdlib.h.

The definitions otherwise leak into anything that includes zstd.h,
which is not desirable for native FreeBSD code.

Reviewed by: allanjude, cem, imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D14352

Details

Provenance
markjAuthored on
Reviewer
allanjude
Differential Revision
D14352: Move zstd malloc()/free()/calloc() macros to stdlib.h.
Parents
rS329237: libkern: use nul for terminating char rather than 0
Branches
Unknown
Tags
Unknown