mac-lte: fix no previous prototype for function

packet-mac-lte.c:4370:7: warning: no previous prototype for function 'get_dual_conn_phr_num_c_bytes' [-Wmissing-prototypes]

Change-Id: Ifb585026610b4b2f100f60e4b20278d986775d3a
Reviewed-on: https://code.wireshark.org/review/36896
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
This commit is contained in:
Alexis La Goutte 2020-04-20 10:54:07 +00:00 committed by Anders Broman
parent 0c3729a688
commit d10817ce02
1 changed files with 4 additions and 4 deletions

View File

@ -4367,10 +4367,10 @@ static void lookup_rlc_channel_from_lcid(guint16 ueid,
/* Work out whether there are 1 or 4 bytes of C bits in Dual-Conn PHR CE */
guint get_dual_conn_phr_num_c_bytes(tvbuff_t *tvb, guint offset,
gboolean isSimultPUCCHPUSCHPCell,
gboolean isSimultPUCCHPUSCHPSCell,
guint subheader_length)
static guint get_dual_conn_phr_num_c_bytes(tvbuff_t *tvb, guint offset,
gboolean isSimultPUCCHPUSCHPCell,
gboolean isSimultPUCCHPUSCHPSCell,
guint subheader_length)
{
if (subheader_length < 4) {
/* Can't be 4 */