Mark find_oldest_removable_snapshot() as static.
authorDaniel Richard G <skunk@iSKUNK.ORG>
Fri, 10 Aug 2012 12:10:55 +0000 (14:10 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 15 Aug 2012 09:39:26 +0000 (11:39 +0200)
It is not used outside the source file in which it is defined.

dss.c

diff --git a/dss.c b/dss.c
index 745729f..c9bdeb9 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -511,7 +511,7 @@ static struct snapshot *find_outdated_snapshot(struct snapshot_list *sl)
        return NULL;
 }
 
-struct snapshot *find_oldest_removable_snapshot(struct snapshot_list *sl)
+static struct snapshot *find_oldest_removable_snapshot(struct snapshot_list *sl)
 {
        int i;
        struct snapshot *s;