core: move definition of NMLinkType to nm-types.h

As we use NMLinkType in NetworkManagerUtils.h, we cannot use
the utils header without nm-platform.h. That is clearly wrong.
Apparently NMLinkType has a wider use outside of platform (and
its name is not prefixed with 'platform' either).

Move the enum definition to nm-types.h.

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller
2014-08-28 19:17:07 +02:00
parent c262819360
commit c52e331014
7 changed files with 49 additions and 44 deletions

View File

@@ -37,6 +37,7 @@
#include "nm-dhcp-utils.h"
#include "NetworkManagerUtils.h"
#include "gsystem-local-alloc.h"
#include "nm-platform.h"
#include "nm-sd-adapt.h"