diff options
author | Dan Winship <danw@gnome.org> | 2014-10-09 09:12:42 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-10-10 13:10:18 -0400 |
commit | 8c3d6f734b3d53bf55cfb6b5d26ca8b3d748fd1c (patch) | |
tree | 070535639f71170a5df6cf576dcd7c53b2bb6eda /libnm/nm-device-infiniband.h | |
parent | dccaffe143410c9f5379f1d92e2a95d4de2072c0 (diff) | |
download | NetworkManager-8c3d6f734b3d53bf55cfb6b5d26ca8b3d748fd1c.tar.gz |
libnm: add nm-types.h, to avoid include loops
Add nm-types.h defining all the type structs, to avoid future include
loops. Clean up the includes in all of the installed headers.
Diffstat (limited to 'libnm/nm-device-infiniband.h')
-rw-r--r-- | libnm/nm-device-infiniband.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libnm/nm-device-infiniband.h b/libnm/nm-device-infiniband.h index 279af5026f..ac15410afa 100644 --- a/libnm/nm-device-infiniband.h +++ b/libnm/nm-device-infiniband.h @@ -25,7 +25,7 @@ #error "Only <NetworkManager.h> can be included directly." #endif -#include "nm-device.h" +#include <nm-device.h> G_BEGIN_DECLS @@ -58,9 +58,9 @@ GQuark nm_device_infiniband_error_quark (void); #define NM_DEVICE_INFINIBAND_HW_ADDRESS "hw-address" #define NM_DEVICE_INFINIBAND_CARRIER "carrier" -typedef struct { +struct _NMDeviceInfiniband { NMDevice parent; -} NMDeviceInfiniband; +}; typedef struct { NMDeviceClass parent; |