libnm: declare internal function as static
authorThomas Haller <thaller@redhat.com>
Thu, 17 Mar 2016 10:23:05 +0000 (11:23 +0100)
committerThomas Haller <thaller@redhat.com>
Thu, 17 Mar 2016 10:32:53 +0000 (11:32 +0100)
libnm/nm-device.c

index fa32b4c..81077be 100644 (file)
@@ -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;