libnm: pack NMMetaSettingType enum
We keep the enum around in memory, so let's make it smaller/packed.
This commit is contained in:
@@ -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
|
||||
* any meaning the numeric values, because they already have one:
|
||||
*
|
||||
|
@@ -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
|
||||
* any meaning the numeric values, because they already have one:
|
||||
*
|
||||
|
Reference in New Issue
Block a user