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)
        | ^~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Aleksander Morgado
2023-04-10 15:05:24 +00:00
parent 4f4bd48db9
commit a53990e074

View File

@@ -61,7 +61,7 @@ cinterion_custom_init_finish (MMPortProbe *probe,
/* is_port_already_tagged checks whether a port provided by probe has /* is_port_already_tagged checks whether a port provided by probe has
* already tags assigned. */ * already tags assigned. */
gboolean static gboolean
is_port_already_tagged (MMPortProbe *probe) is_port_already_tagged (MMPortProbe *probe)
{ {
if (CHECK_PORT_HAS_TAG (probe, ID_MM_PORT_TYPE_AT_PRIMARY) || if (CHECK_PORT_HAS_TAG (probe, ID_MM_PORT_TYPE_AT_PRIMARY) ||