aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-04-10 15:05:24 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2023-04-10 15:05:24 +0000
commita53990e0740c93d397d06376989cceb96b15a2ad (patch)
tree3bf5792d279eeafd05858339cb840a343240323c /src
parent4f4bd48db90ce329dc491db57a5e17b9002ea380 (diff)
cinterion: fix warning with -Wmissing-prototypes
../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) | ^~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'src')
-rw-r--r--src/plugins/cinterion/mm-plugin-cinterion.c2
1 files changed, 1 insertions, 1 deletions
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) ||