iwd: make static variable in object_compare_interfaces() "const"

This commit is contained in:
Thomas Haller 2021-02-22 13:15:58 +01:00
parent 2e0752b1bf
commit e3a7f29e2a
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -1115,7 +1115,7 @@ device_removed(NMManager *manager, NMDevice *device, gpointer user_data)
static int
object_compare_interfaces(gconstpointer a, gconstpointer b)
{
static const char *interface_order[] = {
static const char *const interface_order[] = {
NM_IWD_KNOWN_NETWORK_INTERFACE,
NM_IWD_NETWORK_INTERFACE,
NM_IWD_DEVICE_INTERFACE,