aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iuup.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-22 12:51:14 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-22 12:51:14 +0000
commitc6a2d8e52b039dafb1d7932a2e86252655dbc813 (patch)
treea4bb31887c9cf77a5a40aa4b350530824d00d111 /epan/dissectors/packet-iuup.c
parent2e5caf11f2e40ac405ebbf6c217e492b0b1755c7 (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.c3
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;