From 3ac540f2e13a0d4fa0d52d520ab4b28e8571fc83 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Fri, 11 Mar 2022 06:57:38 +0000 Subject: [PATCH] fix compile erro --- source/libs/tdb/src/db/tdbPage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/libs/tdb/src/db/tdbPage.c b/source/libs/tdb/src/db/tdbPage.c index cd76ff3354..32839e621c 100644 --- a/source/libs/tdb/src/db/tdbPage.c +++ b/source/libs/tdb/src/db/tdbPage.c @@ -15,6 +15,8 @@ #include "tdbInt.h" +static int tdbPageAllocate(SPage *pPage, int size, SCell **ppCell); + int tdbPageCreate(int pageSize, SPage **ppPage, void *(*xMalloc)(void *, size_t), void *arg) { SPage *pPage; u8 *ptr;