diff --git a/src/libnm-platform/nm-platform.h b/src/libnm-platform/nm-platform.h index 36df3db94..2d7214999 100644 --- a/src/libnm-platform/nm-platform.h +++ b/src/libnm-platform/nm-platform.h @@ -149,12 +149,6 @@ GBytes *nmp_link_address_get_as_bytes(const NMPLinkAddress *addr); #define NM_PLATFORM_LINK_OTHER_NETNS (-1) -struct _NMPlatformObject { - /* the object type has no fields of its own, it is only used to having - * a special pointer type that can be used to indicate "any" type. */ - char _dummy_don_t_use_me; -}; - struct _NMPlatformObjWithIfindex { __NMPlatformObjWithIfindex_COMMON; }; diff --git a/src/libnm-platform/nmp-plobj.h b/src/libnm-platform/nmp-plobj.h index d33abef24..9dcde7559 100644 --- a/src/libnm-platform/nmp-plobj.h +++ b/src/libnm-platform/nmp-plobj.h @@ -12,6 +12,14 @@ /*****************************************************************************/ +struct _NMPlatformObject { + /* the object type has no fields of its own, it is only used to having + * a special pointer type that can be used to indicate "any" type. */ + char _dummy_don_t_use_me; +}; + +/*****************************************************************************/ + #define __NMPlatformObjWithIfindex_COMMON \ int ifindex; \ ;