libnm: pack NMMetaSettingType enum

We keep the enum around in memory, so let's make it smaller/packed.
This commit is contained in:
Thomas Haller
2021-06-11 15:26:19 +02:00
parent 16b01233fa
commit 1a5a4838f1
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ extern const NMSetting8021xSchemeVtable
/*****************************************************************************/ /*****************************************************************************/
typedef enum { typedef enum _nm_packed {
/* the enum (and their numeric values) are internal API. Do not assign /* the enum (and their numeric values) are internal API. Do not assign
* any meaning the numeric values, because they already have one: * any meaning the numeric values, because they already have one:
* *

View File

@@ -94,7 +94,7 @@ extern const NMSetting8021xSchemeVtable
/*****************************************************************************/ /*****************************************************************************/
typedef enum { typedef enum _nm_packed {
/* the enum (and their numeric values) are internal API. Do not assign /* the enum (and their numeric values) are internal API. Do not assign
* any meaning the numeric values, because they already have one: * any meaning the numeric values, because they already have one:
* *