device/adsl: make argument of callback for platform-changed-signal const

This commit is contained in:
Thomas Haller 2022-09-14 20:36:13 +02:00
parent c92fe1bfa0
commit ef8fa9f6aa
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

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