From d0b75b9ff69097121333ec665f7c3bc04a405a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Thu, 12 Aug 2010 21:30:26 +0000 Subject: [PATCH] define the wrapper function for mem_isovermem(). (a regression in rt21818) --- lib/isc/mem_api.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/isc/mem_api.c b/lib/isc/mem_api.c index 3d0ed3828b..85abb9b450 100644 --- a/lib/isc/mem_api.c +++ b/lib/isc/mem_api.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: mem_api.c,v 1.7 2010/04/09 23:51:01 tbox Exp $ */ +/* $Id: mem_api.c,v 1.8 2010/08/12 21:30:26 jinmei Exp $ */ #include @@ -199,6 +199,13 @@ isc_mem_inuse(isc_mem_t *mctx) { return (mctx->methods->inuse(mctx)); } +isc_boolean_t +isc_mem_isovermem(isc_mem_t *mctx) { + REQUIRE(ISCAPI_MCTX_VALID(mctx)); + + return (mctx->methods->isovermem(mctx)); +} + void isc_mem_setname(isc_mem_t *mctx, const char *name, void *tag) { REQUIRE(ISCAPI_MCTX_VALID(mctx));