]> git.tue.mpg.de Git - dss.git/commitdiff
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 745729fae629aa279a1747f5779faa92fe901866..c9bdeb9785675f2714d13dad357ab36f5bd48419 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;