mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 01:47:58 +02:00
platform: fix constness of argument for nm_platform_lookup_all()
... and nm_platform_lookup_entry().
This commit is contained in:
parent
b0f52d41bc
commit
2cd25d7a37
2 changed files with 4 additions and 4 deletions
|
|
@ -2806,7 +2806,7 @@ nm_platform_ethtool_get_link_settings (NMPlatform *self, int ifindex, gboolean *
|
|||
const NMDedupMultiHeadEntry *
|
||||
nm_platform_lookup_all (NMPlatform *platform,
|
||||
NMPCacheIdType cache_id_type,
|
||||
NMPObject *obj)
|
||||
const NMPObject *obj)
|
||||
{
|
||||
return nmp_cache_lookup_all (nm_platform_get_cache (platform),
|
||||
cache_id_type,
|
||||
|
|
@ -2816,7 +2816,7 @@ nm_platform_lookup_all (NMPlatform *platform,
|
|||
const NMDedupMultiEntry *
|
||||
nm_platform_lookup_entry (NMPlatform *platform,
|
||||
NMPCacheIdType cache_id_type,
|
||||
NMPObject *obj)
|
||||
const NMPObject *obj)
|
||||
{
|
||||
return nmp_cache_lookup_entry_with_idx_type (nm_platform_get_cache (platform),
|
||||
cache_id_type,
|
||||
|
|
|
|||
|
|
@ -676,11 +676,11 @@ ASSERT_nmp_cache_ops (const NMPCache *cache,
|
|||
|
||||
const NMDedupMultiHeadEntry *nm_platform_lookup_all (NMPlatform *platform,
|
||||
NMPCacheIdType cache_id_type,
|
||||
NMPObject *obj);
|
||||
const NMPObject *obj);
|
||||
|
||||
const NMDedupMultiEntry *nm_platform_lookup_entry (NMPlatform *platform,
|
||||
NMPCacheIdType cache_id_type,
|
||||
NMPObject *obj);
|
||||
const NMPObject *obj);
|
||||
|
||||
static inline const NMDedupMultiHeadEntry *
|
||||
nm_platform_lookup_obj_type (NMPlatform *platform,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue