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.
This commit is contained in:
Holger Hans Peter Freyther 2016-01-22 23:36:22 +01:00
parent 7ba088bdf0
commit fec29ab4e9
1 changed files with 2 additions and 2 deletions

View File

@ -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);