Nothing else besides mail_cache_*lock() needs to be calling it anymore.
(and deleted), -1 if I/O error. */
int mail_cache_map_all(struct mail_cache *cache);
void mail_cache_file_close(struct mail_cache *cache);
-bool mail_cache_need_reopen(struct mail_cache *cache);
int mail_cache_reopen(struct mail_cache *cache);
int mail_cache_sync_reset_id(struct mail_cache *cache);
return 1;
}
-bool mail_cache_need_reopen(struct mail_cache *cache)
+static bool mail_cache_need_reopen(struct mail_cache *cache)
{
struct stat st;