summaryrefslogtreecommitdiff
path: root/libnm/nm-device-wifi.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-10-09 09:12:42 -0400
committerDan Winship <danw@gnome.org>2014-10-10 13:10:18 -0400
commit8c3d6f734b3d53bf55cfb6b5d26ca8b3d748fd1c (patch)
tree070535639f71170a5df6cf576dcd7c53b2bb6eda /libnm/nm-device-wifi.h
parentdccaffe143410c9f5379f1d92e2a95d4de2072c0 (diff)
downloadNetworkManager-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-wifi.h')
-rw-r--r--libnm/nm-device-wifi.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libnm/nm-device-wifi.h b/libnm/nm-device-wifi.h
index bb9788cc07..7947f6959f 100644
--- a/libnm/nm-device-wifi.h
+++ b/libnm/nm-device-wifi.h
@@ -26,8 +26,7 @@
#error "Only <NetworkManager.h> can be included directly."
#endif
-#include "nm-device.h"
-#include "nm-access-point.h"
+#include <nm-device.h>
G_BEGIN_DECLS
@@ -71,9 +70,9 @@ GQuark nm_device_wifi_error_quark (void);
#define NM_DEVICE_WIFI_CAPABILITIES "wireless-capabilities"
#define NM_DEVICE_WIFI_ACCESS_POINTS "access-points"
-typedef struct {
+struct _NMDeviceWifi {
NMDevice parent;
-} NMDeviceWifi;
+};
typedef struct {
NMDeviceClass parent;