summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-cprpc_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-dcerpc-cprpc_server.c')
-rw-r--r--epan/dissectors/packet-dcerpc-cprpc_server.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-dcerpc-cprpc_server.c b/epan/dissectors/packet-dcerpc-cprpc_server.c
index ddc98196..8d915118 100644
--- a/epan/dissectors/packet-dcerpc-cprpc_server.c
+++ b/epan/dissectors/packet-dcerpc-cprpc_server.c
@@ -20,18 +20,18 @@
void proto_register_cprpc_server (void);
void proto_reg_handoff_cprpc_server (void);
-static int proto_cprpc_server = -1;
-static int hf_cprpc_server_opnum = -1;
+static int proto_cprpc_server;
+static int hf_cprpc_server_opnum;
-static gint ett_cprpc_server = -1;
+static int ett_cprpc_server;
static e_guid_t uuid_cprpc_server = { 0x4885772c, 0xc6d3, 0x11ca, { 0x84, 0xc6, 0x08, 0x00, 0x2b, 0x1c, 0x8f, 0x1f } };
-static guint16 ver_cprpc_server = 1;
+static uint16_t ver_cprpc_server = 1;
-static dcerpc_sub_dissector cprpc_server_dissectors[] = {
+static const dcerpc_sub_dissector cprpc_server_dissectors[] = {
{ 0, "dnscp_server", NULL, NULL},
{ 0, NULL, NULL, NULL }
};
@@ -45,7 +45,7 @@ proto_register_cprpc_server (void)
NULL, 0x0, NULL, HFILL }}
};
- static gint *ett[] = {
+ static int *ett[] = {
&ett_cprpc_server,
};
proto_cprpc_server = proto_register_protocol ("DNS Control Program Server", "cprpc_server", "cprpc_server");