From 40e202391eaa6d3b439e07499c8f0a94a359e691 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Thu, 3 Aug 2017 18:18:07 +0200 Subject: Turn cache_invalid_write() static It's only used in this file, and otherwise the missing prototype produces a compiler warning. --- cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache.c b/cache.c index 34a87ca..b0a0332 100644 --- a/cache.c +++ b/cache.c @@ -116,7 +116,7 @@ void cache_invalidate(const char *path) pthread_mutex_unlock(&cache.lock); } -void cache_invalidate_write(const char *path) +static void cache_invalidate_write(const char *path) { pthread_mutex_lock(&cache.lock); cache_purge(path); -- cgit v1.2.3