-/*
- * Copyright (C) 2008-2010 Andre Noll <maan@tuebingen.mpg.de>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdlib.h>
#include <assert.h>
#include <inttypes.h>
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)
{