From ec699db9f4de6f3737f9bdf0959e6f9ac40359cd Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 22 May 2023 09:49:13 +0200 Subject: [PATCH] sys/suit/storage: fix compilation with LLVM --- sys/suit/storage/vfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/suit/storage/vfs.c b/sys/suit/storage/vfs.c index b2a540034e..904794ef75 100644 --- a/sys/suit/storage/vfs.c +++ b/sys/suit/storage/vfs.c @@ -40,6 +40,7 @@ static inline suit_storage_vfs_t *_get_vfs(suit_storage_t *storage) return container_of(storage, suit_storage_vfs_t, storage); } +__attribute__((unused)) static inline const suit_storage_vfs_t *_get_vfs_const(const suit_storage_t *storage) { return container_of(storage, suit_storage_vfs_t, storage);