aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-idrp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-04 21:12:16 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-04 21:12:16 +0000
commit1a7c42d40a304513fe54df45f1e2d91329115ac5 (patch)
tree870ff516f2a20af7a0c24f113ab1f4b10112b78b /epan/dissectors/packet-idrp.c
parent5c40dde043bf95889c90284b05e624da71581ea0 (diff)
- Make local functions static.
- Forward declaration of register function. svn path=/trunk/; revision=53786
Diffstat (limited to 'epan/dissectors/packet-idrp.c')
-rw-r--r--epan/dissectors/packet-idrp.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/epan/dissectors/packet-idrp.c b/epan/dissectors/packet-idrp.c
index e1b645222c..a4cb8f2560 100644
--- a/epan/dissectors/packet-idrp.c
+++ b/epan/dissectors/packet-idrp.c
@@ -40,6 +40,8 @@
#define IDRP_PROTO "ISO/IEC 10747 (1993): Inter Domain Routing Protocol "
+void proto_register_idrp(void);
+
static int proto_idrp = -1;
static gint ett_idrp = -1;
static gint ett_idrp_sub = -1;
@@ -341,7 +343,7 @@ static const value_string idrp_rib_refresh_opcodes[] = {
#endif
-int dissect_BISPDU_OPEN(tvbuff_t * tvb, int offset, proto_tree * tree)
+static int dissect_BISPDU_OPEN(tvbuff_t * tvb, int offset, proto_tree * tree)
{
guint8 rdi_len;
guint8 number_of_non_empty_rib_attributes;
@@ -515,7 +517,7 @@ int dissect_BISPDU_OPEN(tvbuff_t * tvb, int offset, proto_tree * tree)
return offset;
}
-int dissect_BISPDU_UPDATE(tvbuff_t * tvb, int offset, proto_tree * tree)
+static int dissect_BISPDU_UPDATE(tvbuff_t * tvb, int offset, proto_tree * tree)
{
guint16 nb_unfeasible_routes;
guint16 path_attrs_len;
@@ -935,7 +937,7 @@ int dissect_BISPDU_UPDATE(tvbuff_t * tvb, int offset, proto_tree * tree)
return offset;
}
-int dissect_BISPDU_ERROR(tvbuff_t * tvb, int offset, proto_tree * tree)
+static int dissect_BISPDU_ERROR(tvbuff_t * tvb, int offset, proto_tree * tree)
{
guint8 error_code = 0;
gint data_length;
@@ -985,7 +987,7 @@ int dissect_BISPDU_ERROR(tvbuff_t * tvb, int offset, proto_tree * tree)
return offset;
}
-int dissect_BISPDU_RIB_REFRESH(tvbuff_t * tvb, int offset, proto_tree * tree)
+static int dissect_BISPDU_RIB_REFRESH(tvbuff_t * tvb, int offset, proto_tree * tree)
{
proto_tree *sub_tree;
proto_item *ti;