From a53990e0740c93d397d06376989cceb96b15a2ad Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 10 Apr 2023 15:05:24 +0000 Subject: cinterion: fix warning with -Wmissing-prototypes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../src/plugins/cinterion/mm-plugin-cinterion.c:65:1: warning: no previous prototype for ‘is_port_already_tagged’ [-Wmissing-prototypes] 65 | is_port_already_tagged (MMPortProbe *probe) | ^~~~~~~~~~~~~~~~~~~~~~ --- src/plugins/cinterion/mm-plugin-cinterion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/cinterion/mm-plugin-cinterion.c b/src/plugins/cinterion/mm-plugin-cinterion.c index c4e46f00..f1ee201d 100644 --- a/src/plugins/cinterion/mm-plugin-cinterion.c +++ b/src/plugins/cinterion/mm-plugin-cinterion.c @@ -61,7 +61,7 @@ cinterion_custom_init_finish (MMPortProbe *probe, /* is_port_already_tagged checks whether a port provided by probe has * already tags assigned. */ -gboolean +static gboolean is_port_already_tagged (MMPortProbe *probe) { if (CHECK_PORT_HAS_TAG (probe, ID_MM_PORT_TYPE_AT_PRIMARY) || -- cgit v1.2.3-70-g09d2