diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-11-22 12:51:14 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-11-22 12:51:14 +0000 |
commit | c6a2d8e52b039dafb1d7932a2e86252655dbc813 (patch) | |
tree | a4bb31887c9cf77a5a40aa4b350530824d00d111 /epan/dissectors/packet-iuup.c | |
parent | 2e5caf11f2e40ac405ebbf6c217e492b0b1755c7 (diff) |
Trivial warning fixes
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16561 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-iuup.c')
-rw-r--r-- | epan/dissectors/packet-iuup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iuup.c b/epan/dissectors/packet-iuup.c index c9d772725a..b8caea5e05 100644 --- a/epan/dissectors/packet-iuup.c +++ b/epan/dissectors/packet-iuup.c @@ -314,7 +314,8 @@ static const value_string iuup_fqcs[] = { {0,NULL} }; -proto_item* proto_tree_add_bits(proto_tree* tree, int hf, tvbuff_t* tvb, int offset, int bit_offset, guint bits, gchar** buf) { +static proto_item* +proto_tree_add_bits(proto_tree* tree, int hf, tvbuff_t* tvb, int offset, int bit_offset, guint bits, gchar** buf) { static const guint8 masks[] = {0x00,0x80,0xc0,0xe0,0xf0,0xf8,0xfc,0xfe}; int len = (bits + bit_offset)/8 + ((bits + bit_offset)%8 ? 0 : 1); guint8* shifted_buffer; |