X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=snap.c;h=da95c1f342dc09bcc01d1eef58a075dd721472ef;hb=fa415abf954777fd0064fd5cbe222f34126bd8ed;hp=2ec195653c8ce65091b31f512010326649387bf1;hpb=16f02580474d5f4a284863f48416a2a51fa78e85;p=dss.git diff --git a/snap.c b/snap.c index 2ec1956..da95c1f 100644 --- a/snap.c +++ b/snap.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2008-2010 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include @@ -150,7 +146,7 @@ static int compare_snapshots(const void *a, const void *b) return NUM_COMPARE(s2->creation_time, s1->creation_time); } - +/* The returned snapshot list is sorted by creation time. */ void get_snapshot_list(struct snapshot_list *sl, int unit_interval, int num_intervals) {