mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 19:20:12 +01:00
libnm: pack NMMetaSettingType enum
We keep the enum around in memory, so let's make it smaller/packed.
This commit is contained in:
parent
16b01233fa
commit
1a5a4838f1
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue