summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-rs_attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-dcerpc-rs_attr.c')
-rw-r--r--epan/dissectors/packet-dcerpc-rs_attr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-dcerpc-rs_attr.c b/epan/dissectors/packet-dcerpc-rs_attr.c
index ce61e96c..ef939d90 100644
--- a/epan/dissectors/packet-dcerpc-rs_attr.c
+++ b/epan/dissectors/packet-dcerpc-rs_attr.c
@@ -21,18 +21,18 @@
void proto_register_rs_attr (void);
void proto_reg_handoff_rs_attr (void);
-static int proto_rs_attr = -1;
-static int hf_rs_attr_opnum = -1;
+static int proto_rs_attr;
+static int hf_rs_attr_opnum;
-static gint ett_rs_attr = -1;
+static int ett_rs_attr;
static e_guid_t uuid_rs_attr = { 0xa71fc1e8, 0x567f, 0x11cb, { 0x98, 0xa0, 0x08, 0x00, 0x1e, 0x04, 0xde, 0x8c } };
-static guint16 ver_rs_attr = 0;
+static uint16_t ver_rs_attr;
-static dcerpc_sub_dissector rs_attr_dissectors[] = {
+static const dcerpc_sub_dissector rs_attr_dissectors[] = {
{ 0, "rs_attr_cursor_init", NULL, NULL},
{ 1, "rs_attr_lookup_by_id", NULL, NULL},
{ 2, "rs_attr_lookup_no_expand", NULL, NULL},
@@ -53,7 +53,7 @@ proto_register_rs_attr (void)
{ "Operation", "rs_attr.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
};
- static gint *ett[] = {
+ static int *ett[] = {
&ett_rs_attr,
};
proto_rs_attr = proto_register_protocol ("Registry Server Attributes Manipulation Interface", "RS_ATTR", "rs_attr");