summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2016-06-23 11:08:59 -0500
committerThomas Haller <thaller@redhat.com>2016-06-28 17:34:42 +0200
commit87aa671e6b595092656a782e35c6f1f2bd84832a (patch)
tree3b804df8705866b7505d34cce969fb8ed515525f
parent219904920f8a6bb5344719097d4e5ca0f432eb8a (diff)
downloadNetworkManager-87aa671e6b595092656a782e35c6f1f2bd84832a.tar.gz
wwan: no need for NM_MODEM_BROADBAND_MODEM to be public
-rw-r--r--src/devices/wwan/nm-modem-broadband.c2
-rw-r--r--src/devices/wwan/nm-modem-broadband.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/wwan/nm-modem-broadband.c b/src/devices/wwan/nm-modem-broadband.c
index 105cf4ddf3..e72b75923c 100644
--- a/src/devices/wwan/nm-modem-broadband.c
+++ b/src/devices/wwan/nm-modem-broadband.c
@@ -30,6 +30,8 @@
#include "nm-device-private.h"
#include "nm-platform.h"
+#define NM_MODEM_BROADBAND_MODEM "modem"
+
G_DEFINE_TYPE (NMModemBroadband, nm_modem_broadband, NM_TYPE_MODEM)
typedef enum {
diff --git a/src/devices/wwan/nm-modem-broadband.h b/src/devices/wwan/nm-modem-broadband.h
index a54e63a697..371607782b 100644
--- a/src/devices/wwan/nm-modem-broadband.h
+++ b/src/devices/wwan/nm-modem-broadband.h
@@ -32,8 +32,6 @@ G_BEGIN_DECLS
#define NM_IS_MODEM_BROADBAND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_MODEM_BROADBAND))
#define NM_MODEM_BROADBAND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_MODEM_BROADBAND, NMModemBroadbandClass))
-#define NM_MODEM_BROADBAND_MODEM "modem"
-
typedef struct _NMModemBroadband NMModemBroadband;
typedef struct _NMModemBroadbandClass NMModemBroadbandClass;
typedef struct _NMModemBroadbandPrivate NMModemBroadbandPrivate;