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 058ab85f16..99ef3f5587 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1309,11 +1309,6 @@ static bool check_all_headers(void)
1309 return true; 1309 return true;
1310} 1310}
1311 1311
1312bool tagcache_is_busy(void)
1313{
1314 return read_lock || write_lock;
1315}
1316
1317bool tagcache_search(struct tagcache_search *tcs, int tag) 1312bool tagcache_search(struct tagcache_search *tcs, int tag)
1318{ 1313{
1319 struct tagcache_header tag_hdr; 1314 struct tagcache_header tag_hdr;
@@ -3303,16 +3298,6 @@ void tagcache_update_numeric(int idx_id, int tag, long data)
3303} 3298}
3304#endif /* !__PCTOOL__ */ 3299#endif /* !__PCTOOL__ */
3305 3300
3306long tagcache_get_serial(void)
3307{
3308 return current_tcmh.serial;
3309}
3310
3311long tagcache_get_commitid(void)
3312{
3313 return current_tcmh.commitid;
3314}
3315
3316static bool write_tag(int fd, const char *tagstr, const char *datastr) 3301static bool write_tag(int fd, const char *tagstr, const char *datastr)
3317{ 3302{
3318 char buf[512]; 3303 char buf[512];
@@ -4794,13 +4779,6 @@ void tagcache_stop_scan(void)
4794 queue_post(&tagcache_queue, Q_STOP_SCAN, 0); 4779 queue_post(&tagcache_queue, Q_STOP_SCAN, 0);
4795} 4780}
4796 4781
4797#ifdef HAVE_TC_RAMCACHE
4798bool tagcache_is_ramcache(void)
4799{
4800 return tc_stat.ramcache;
4801}
4802#endif
4803
4804#endif /* !__PCTOOL__ */ 4782#endif /* !__PCTOOL__ */
4805 4783
4806 4784