summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 058ab85..99ef3f5 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1309,11 +1309,6 @@ static bool check_all_headers(void)
return true;
}
-bool tagcache_is_busy(void)
-{
- return read_lock || write_lock;
-}
-
bool tagcache_search(struct tagcache_search *tcs, int tag)
{
struct tagcache_header tag_hdr;
@@ -3303,16 +3298,6 @@ void tagcache_update_numeric(int idx_id, int tag, long data)
}
#endif /* !__PCTOOL__ */
-long tagcache_get_serial(void)
-{
- return current_tcmh.serial;
-}
-
-long tagcache_get_commitid(void)
-{
- return current_tcmh.commitid;
-}
-
static bool write_tag(int fd, const char *tagstr, const char *datastr)
{
char buf[512];
@@ -4794,13 +4779,6 @@ void tagcache_stop_scan(void)
queue_post(&tagcache_queue, Q_STOP_SCAN, 0);
}
-#ifdef HAVE_TC_RAMCACHE
-bool tagcache_is_ramcache(void)
-{
- return tc_stat.ramcache;
-}
-#endif
-
#endif /* !__PCTOOL__ */