1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/suit/storage: fix compilation with LLVM

This commit is contained in:
Marian Buschsieweke 2023-05-22 09:49:13 +02:00 committed by Marian Buschsieweke
parent 2ae3c7c84f
commit ec699db9f4
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -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);