• Thomas Haller's avatar
    libnm: mark NMVariantAttributeSpec pointers as const · 4e3955e6
    Thomas Haller authored
    This actually allows the compiler/linker to mark the memory as read-only and any
    modification will cause a segmentation fault.
    I would also think that it allows the compiler to put the structure directly
    beside the outer constant array (in which this pointer is embedded). That is good
nm-setting-sriov.c 35.7 KB