X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=snap.h;h=27045a3ca5542ad1c3a72b7b3ed667ab5b583fd2;hb=7a6ff706b99f35a3f4f1ee116f49827dbdf15c64;hp=c817de2b5ef75cb0ab0ad791362a9575844b524c;hpb=b76728084d7b36d55e08764c9de42ad59fd6f6fd;p=dss.git diff --git a/snap.h b/snap.h index c817de2..27045a3 100644 --- a/snap.h +++ b/snap.h @@ -1,9 +1,4 @@ -/* - * Copyright (C) 2008-2010 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ - +/* SPDX-License-Identifier: GPL-2.0 */ /** The possible states for snapshot creation/removal. */ #define HOOK_STATUS_ARRAY \ @@ -93,7 +88,7 @@ int num_complete_snapshots(struct snapshot_list *sl); /** * Get the newest snapshot in a snapshot list. */ -_static_inline_ struct snapshot *get_newest_snapshot(struct snapshot_list *sl) +static inline struct snapshot *get_newest_snapshot(struct snapshot_list *sl) { if (!sl->num_snapshots) return NULL;