diff options
author | Thomas Haller <thaller@redhat.com> | 2016-03-17 11:23:05 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-03-17 11:32:53 +0100 |
commit | 2778d257cce43623fa69588ebca39fd96ee0bf98 (patch) | |
tree | aa01f4e1363e956cf5a6eb02a279355260c3ef67 /libnm/nm-device.c | |
parent | e2040e5ebeae8e50e3f3b5a0e724fc9211866972 (diff) | |
download | NetworkManager-2778d257cce43623fa69588ebca39fd96ee0bf98.tar.gz |
libnm: declare internal function as static
Diffstat (limited to 'libnm/nm-device.c')
-rw-r--r-- | libnm/nm-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm/nm-device.c b/libnm/nm-device.c index fa32b4c76f..81077bee4d 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -61,7 +61,7 @@ #include "nmdbus-device.h" static GType _nm_device_decide_type (GVariant *value); -gboolean connection_compatible (NMDevice *device, NMConnection *connection, GError **error); +static gboolean connection_compatible (NMDevice *device, NMConnection *connection, GError **error); static NMLldpNeighbor *nm_lldp_neighbor_dup (NMLldpNeighbor *neighbor); G_DEFINE_TYPE_WITH_CODE (NMDevice, nm_device, NM_TYPE_OBJECT, @@ -2712,7 +2712,7 @@ nm_device_connection_valid (NMDevice *device, NMConnection *connection) return nm_device_connection_compatible (device, connection, NULL); } -gboolean +static gboolean connection_compatible (NMDevice *device, NMConnection *connection, GError **error) { const char *config_iface, *device_iface; |