aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gtphub.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-22 23:36:22 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-22 23:36:22 +0100
commitfec29ab4e9651959a09b4ca524866e02c537349e (patch)
tree29a5a732fbaa24b2168da94684fb4b85486cd384 /openbsc/src/gprs/gtphub.c
parent7ba088bdf0bdfd1b9b71948b9886ef310c37abea (diff)
gtphub: Make the two setter static as well
Same as with the previous gtphub commit. Make these static to deal with the new semantic of inline in gcc5.
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 fcb071529..e8bd3aee7 100644
--- a/openbsc/src/gprs/gtphub.c
+++ b/openbsc/src/gprs/gtphub.c
@@ -964,14 +964,14 @@ static inline void gtphub_port_ref_count_dec(struct gtphub_peer_port *pp)
pp->ref_count--;
}
-inline void set_seq(struct gtp_packet_desc *p, uint16_t seq)
+static inline void set_seq(struct gtp_packet_desc *p, uint16_t seq)
{
OSMO_ASSERT(p->version == 1);
p->data->gtp1l.h.seq = hton16(seq);
p->seq = seq;
}
-inline void set_tei(struct gtp_packet_desc *p, uint32_t tei)
+static inline void set_tei(struct gtp_packet_desc *p, uint32_t tei)
{
OSMO_ASSERT(p->version == 1);
p->data->gtp1l.h.tei = hton32(tei);