diff --git a/source/libs/tdb/src/page/tdbPage.c b/source/libs/tdb/src/page/tdbPage.c index 67ce1de184..3c8ba70a8d 100644 --- a/source/libs/tdb/src/page/tdbPage.c +++ b/source/libs/tdb/src/page/tdbPage.c @@ -23,6 +23,9 @@ typedef struct __attribute__((__packed__)) { u16 nFree; } SPageHdr; +extern SPageMethods pageMethods; +extern SPageMethods pageLargeMethods; + typedef struct __attribute__((__packed__)) { u8 szCell[2]; u8 nxOffset[2]; diff --git a/source/libs/tdb/src/page/tdbPage.h b/source/libs/tdb/src/page/tdbPage.h index fe5b65827a..9170392d23 100644 --- a/source/libs/tdb/src/page/tdbPage.h +++ b/source/libs/tdb/src/page/tdbPage.h @@ -47,9 +47,6 @@ typedef struct { void (*setCellOffset)(SPage *, int, int); } SPageMethods; -extern SPageMethods pageMethods; -extern SPageMethods pageLargeMethods; - // Page footer typedef struct __attribute__((__packed__)) { u8 cksm[4];