MdeModulePkg BrotliLib: Rename function with the specific lib name

This change is to avoid the function conflict.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
Liming Gao
2018-03-13 15:58:21 +08:00
parent 89b1612fcf
commit 792ace0ac3
4 changed files with 13 additions and 13 deletions

View File

@@ -18,12 +18,12 @@ extern "C" {
static void* DefaultAllocFunc(void* opaque, size_t size) {
BROTLI_UNUSED(opaque);
return malloc(size);
return BrDummyMalloc(size);
}
static void DefaultFreeFunc(void* opaque, void* address) {
BROTLI_UNUSED(opaque);
free(address);
BrDummyFree(address);
}
void BrotliDecoderStateInit(BrotliDecoderState* s) {