From 416a7a10014299fd08bf4b35e4ffa0870cd330b0 Mon Sep 17 00:00:00 2001 From: dormando Date: Sat, 29 Aug 2020 23:15:23 -0700 Subject: core: move more storage functions to storage.c extstore.h is now only used from storage.c. starting a path towards getting the storage interface to be more generalized. should be no functional changes. --- items.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'items.h') diff --git a/items.h b/items.h index 8758197..cb25cfa 100644 --- a/items.h +++ b/items.h @@ -84,16 +84,3 @@ void lru_maintainer_pause(void); void lru_maintainer_resume(void); void *lru_bump_buf_create(void); - -#ifdef EXTSTORE -#define STORAGE_delete(e, it) \ - do { \ - if (it->it_flags & ITEM_HDR) { \ - item_hdr *hdr = (item_hdr *)ITEM_data(it); \ - extstore_delete(e, hdr->page_id, hdr->page_version, \ - 1, ITEM_ntotal(it)); \ - } \ - } while (0) -#else -#define STORAGE_delete(...) -#endif -- cgit v1.2.1