mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 11:10:09 +01:00
device/adsl: make argument of callback for platform-changed-signal const
This commit is contained in:
parent
c92fe1bfa0
commit
ef8fa9f6aa
1 changed files with 6 additions and 6 deletions
|
|
@ -214,12 +214,12 @@ error:
|
|||
}
|
||||
|
||||
static void
|
||||
link_changed_cb(NMPlatform *platform,
|
||||
int obj_type_i,
|
||||
int ifindex,
|
||||
NMPlatformLink *info,
|
||||
int change_type_i,
|
||||
NMDeviceAdsl *self)
|
||||
link_changed_cb(NMPlatform *platform,
|
||||
int obj_type_i,
|
||||
int ifindex,
|
||||
const NMPlatformLink *info,
|
||||
int change_type_i,
|
||||
NMDeviceAdsl *self)
|
||||
{
|
||||
const NMPlatformSignalChangeType change_type = change_type_i;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue