-/*
- * 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 */
/** The possible states for snapshot creation/removal. */
#define HOOK_STATUS_ARRAY \
/**
* 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;