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:
parent
2ae3c7c84f
commit
ec699db9f4
@ -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);
|
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)
|
static inline const suit_storage_vfs_t *_get_vfs_const(const suit_storage_t *storage)
|
||||||
{
|
{
|
||||||
return container_of(storage, suit_storage_vfs_t, storage);
|
return container_of(storage, suit_storage_vfs_t, storage);
|
||||||
|
Loading…
Reference in New Issue
Block a user