aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gtphub.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/gprs/gtphub.c')
-rw-r--r--openbsc/src/gprs/gtphub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gtphub.c b/openbsc/src/gprs/gtphub.c
index f26a56ace..fcb071529 100644
--- a/openbsc/src/gprs/gtphub.c
+++ b/openbsc/src/gprs/gtphub.c
@@ -950,14 +950,14 @@ static int gtphub_read(const struct osmo_fd *from,
return received;
}
-inline void gtphub_port_ref_count_inc(struct gtphub_peer_port *pp)
+static inline void gtphub_port_ref_count_inc(struct gtphub_peer_port *pp)
{
OSMO_ASSERT(pp);
OSMO_ASSERT(pp->ref_count < UINT_MAX);
pp->ref_count++;
}
-inline void gtphub_port_ref_count_dec(struct gtphub_peer_port *pp)
+static inline void gtphub_port_ref_count_dec(struct gtphub_peer_port *pp)
{
OSMO_ASSERT(pp);
OSMO_ASSERT(pp->ref_count > 0);