AllJoyn: fix warning: no previous prototype for 'add_padding_item' [-Wmissing-prototypes]
Change-Id: Id18ac125390efa22638845083f7d0d5eaf71cb97 Reviewed-on: https://code.wireshark.org/review/4955 Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
parent
309840ffc1
commit
2418d063ef
|
@ -818,7 +818,7 @@ advance_to_end_of_signature(guint8 **signature,
|
|||
* @param tvb is the incoming network data buffer.
|
||||
* @param tree is the tree to which the new item should be attached.
|
||||
*/
|
||||
void add_padding_item(gint padding_start, gint padding_end, tvbuff_t *tvb, proto_tree *tree)
|
||||
static void add_padding_item(gint padding_start, gint padding_end, tvbuff_t *tvb, proto_tree *tree)
|
||||
{
|
||||
if(padding_end > padding_start && padding_end < (gint)tvb_reported_length(tvb)) {
|
||||
gint padding_length = padding_end - padding_start;
|
||||
|
|
Loading…
Reference in New Issue