summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-ethernet.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-09-29 13:49:01 +0200
committerThomas Haller <thaller@redhat.com>2016-10-04 09:50:56 +0200
commit4d37f7a1e94f469fb1e3eacde4d2424ebf6ccf0b (patch)
tree304dd68a6f6bab8fb3ba9cb63d76faf69a530650 /src/devices/nm-device-ethernet.c
parent92e9822e1be23b0a1964b8b16a1cd2c0c51ee59b (diff)
downloadNetworkManager-4d37f7a1e94f469fb1e3eacde4d2424ebf6ccf0b.tar.gz
core: refactor private data in "src"
- use _NM_GET_PRIVATE() and _NM_GET_PRIVATE_PTR() everywhere. - reorder statements, to have GObject related functions (init, dispose, constructed) at the bottom of each file and in a consistent order w.r.t. each other. - unify whitespaces in signal and properties declarations. - use NM_GOBJECT_PROPERTIES_DEFINE() and _notify() - drop unused signal slots in class structures - drop unused header files for device factories
Diffstat (limited to 'src/devices/nm-device-ethernet.c')
-rw-r--r--src/devices/nm-device-ethernet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/nm-device-ethernet.c b/src/devices/nm-device-ethernet.c
index 43d029e55a..fd80a607a2 100644
--- a/src/devices/nm-device-ethernet.c
+++ b/src/devices/nm-device-ethernet.c
@@ -33,11 +33,13 @@
#include "nm-device-private.h"
#include "nm-act-request.h"
+#include "nm-ip4-config.h"
#include "NetworkManagerUtils.h"
#include "nm-supplicant-manager.h"
#include "nm-supplicant-interface.h"
#include "nm-supplicant-config.h"
#include "ppp-manager/nm-ppp-manager.h"
+#include "ppp-manager/nm-ppp-status.h"
#include "nm-enum-types.h"
#include "nm-platform.h"
#include "nm-platform-utils.h"
@@ -1633,7 +1635,6 @@ nm_device_ethernet_class_init (NMDeviceEthernetClass *klass)
NM_DEVICE_CLASS_DECLARE_TYPES (klass, NM_SETTING_WIRED_SETTING_NAME, NM_LINK_TYPE_ETHERNET)
- /* virtual methods */
object_class->constructed = constructed;
object_class->dispose = dispose;
object_class->finalize = finalize;