diff options
| author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2014-02-27 03:46:18 -0500 |
|---|---|---|
| committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-07-10 12:34:57 -0400 |
| commit | 8ce953aa39e2bfd66036a27abdf761c2cb93f02c (patch) | |
| tree | d7b857bb063ffff69b8decbe94bc69ee57c70fea /lib | |
| parent | 3e0c78d3466483ee1d6fdb4ce081e00f217db79e (diff) | |
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')
| -rw-r--r-- | lib/lru_cache.c | 2 |
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: | |||
| 169 | return NULL; | 169 | return NULL; |
| 170 | } | 170 | } |
| 171 | 171 | ||
| 172 | void lc_free_by_index(struct lru_cache *lc, unsigned i) | 172 | static void lc_free_by_index(struct lru_cache *lc, unsigned i) |
| 173 | { | 173 | { |
| 174 | void *p = lc->lc_element[i]; | 174 | void *p = lc->lc_element[i]; |
| 175 | WARN_ON(!p); | 175 | WARN_ON(!p); |
