Move zstd malloc()/free()/calloc() macros to stdlib.h.
authormarkj <markj@FreeBSD.org>
Tue, 13 Feb 2018 19:18:00 +0000 (19:18 +0000)
committermarkj <markj@FreeBSD.org>
Tue, 13 Feb 2018 19:18:00 +0000 (19:18 +0000)
commit345d3415f1c7fe02700aadb8b0da728fb605d724
tree123863892bf93d592540bb6eb34b1c11fcf0c33b
parentadb4ef6fb828baea8947d8e2d82c8f5a88b9ba82
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
sys/contrib/zstd/lib/freebsd/stdlib.h
sys/contrib/zstd/lib/freebsd/zstd_kfreebsd.h