mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-21 02:50:36 +01:00
core: move NM_PLATFORM_LIFETIME_PERMANENT to libnm-platform/nmp-base.h
This commit is contained in:
parent
398b509931
commit
2d9a9d0ded
3 changed files with 5 additions and 2 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include <net/if_arp.h>
|
||||
#include <net/ethernet.h>
|
||||
|
||||
#include "libnm-platform/nmp-base.h"
|
||||
#include "libnm-std-aux/unaligned.h"
|
||||
#include "libnm-glib-aux/nm-random-utils.h"
|
||||
#include "libnm-glib-aux/nm-io-utils.h"
|
||||
|
|
|
|||
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#define NM_PLATFORM_LIFETIME_PERMANENT G_MAXUINT32
|
||||
|
||||
#define NM_DEFINE_SINGLETON_INSTANCE(TYPE) static TYPE *singleton_instance
|
||||
|
||||
#define NM_DEFINE_SINGLETON_REGISTER(TYPE) \
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#define NM_PLATFORM_LIFETIME_PERMANENT G_MAXUINT32
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
typedef enum {
|
||||
NM_PLATFORM_LINK_DUPLEX_UNKNOWN,
|
||||
NM_PLATFORM_LINK_DUPLEX_HALF,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue