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:
Alexis La Goutte 2014-10-27 23:56:14 +01:00 committed by Evan Huus
parent 309840ffc1
commit 2418d063ef
1 changed files with 1 additions and 1 deletions

View File

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