diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-03 18:18:07 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-03 18:18:07 +0200 |
commit | 40e202391eaa6d3b439e07499c8f0a94a359e691 (patch) | |
tree | ec6050ac88fc8d12701b0e44c3598824b9c4705f /cache.c | |
parent | 42dfaf9a5bdc1ee429c7718e8788ca37a5763e0d (diff) | |
download | sshfs-40e202391eaa6d3b439e07499c8f0a94a359e691.tar sshfs-40e202391eaa6d3b439e07499c8f0a94a359e691.tar.gz sshfs-40e202391eaa6d3b439e07499c8f0a94a359e691.tar.bz2 sshfs-40e202391eaa6d3b439e07499c8f0a94a359e691.zip |
Turn cache_invalid_write() static
It's only used in this file, and otherwise the missing prototype
produces a compiler warning.
Diffstat (limited to 'cache.c')
-rw-r--r-- | cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |