summaryrefslogtreecommitdiff
path: root/lib/lru_cache.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2014-02-27 12:46:18 +0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2014-07-10 20:34:57 +0400
commit8ce953aa39e2bfd66036a27abdf761c2cb93f02c (patch)
treed7b857bb063ffff69b8decbe94bc69ee57c70fea /lib/lru_cache.c
parent3e0c78d3466483ee1d6fdb4ce081e00f217db79e (diff)
downloadlinux-8ce953aa39e2bfd66036a27abdf761c2cb93f02c.tar.xz
drbd: silence -Wmissing-prototypes warnings
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'lib/lru_cache.c')
-rw-r--r--lib/lru_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lru_cache.c b/lib/lru_cache.c
index 4a83ecd03650..6111cd19762d 100644
--- a/lib/lru_cache.c
+++ b/lib/lru_cache.c
@@ -169,7 +169,7 @@ out_fail:
return NULL;
}
-void lc_free_by_index(struct lru_cache *lc, unsigned i)
+static void lc_free_by_index(struct lru_cache *lc, unsigned i)
{
void *p = lc->lc_element[i];
WARN_ON(!p);