From 2778d257cce43623fa69588ebca39fd96ee0bf98 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 17 Mar 2016 11:23:05 +0100 Subject: [PATCH] libnm: declare internal function as static --- libnm/nm-device.c | 4 ++-- 1 file 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;