mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 08:18:03 +02: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
|
static void
|
||||||
link_changed_cb(NMPlatform *platform,
|
link_changed_cb(NMPlatform *platform,
|
||||||
int obj_type_i,
|
int obj_type_i,
|
||||||
int ifindex,
|
int ifindex,
|
||||||
NMPlatformLink *info,
|
const NMPlatformLink *info,
|
||||||
int change_type_i,
|
int change_type_i,
|
||||||
NMDeviceAdsl *self)
|
NMDeviceAdsl *self)
|
||||||
{
|
{
|
||||||
const NMPlatformSignalChangeType change_type = change_type_i;
|
const NMPlatformSignalChangeType change_type = change_type_i;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue