summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/cdt/packet-cdt-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/asn1/cdt/packet-cdt-template.c')
-rw-r--r--epan/dissectors/asn1/cdt/packet-cdt-template.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/asn1/cdt/packet-cdt-template.c b/epan/dissectors/asn1/cdt/packet-cdt-template.c
index 8cf27bbd..4ae9c331 100644
--- a/epan/dissectors/asn1/cdt/packet-cdt-template.c
+++ b/epan/dissectors/asn1/cdt/packet-cdt-template.c
@@ -19,7 +19,7 @@
#include <epan/oids.h>
#include <epan/expert.h>
#include <epan/asn1.h>
-
+#include <wsutil/array.h>
#include "packet-ber.h"
#include "packet-p1.h"
@@ -38,20 +38,20 @@
void proto_register_cdt(void);
void proto_reg_handoff_cdt(void);
-static proto_tree *top_tree = NULL;
-static proto_item *cdt_item = NULL;
+static proto_tree *top_tree;
+static proto_item *cdt_item;
-static guint32 content_type = 0;
+static uint32_t content_type;
/* Initialize the protocol and registered fields */
-static int proto_cdt = -1;
+static int proto_cdt;
#include "packet-cdt-hf.c"
/* Initialize the subtree pointers */
#include "packet-cdt-ett.c"
-static expert_field ei_cdt_unable_compress_content = EI_INIT;
-static expert_field ei_cdt_unable_uncompress_content = EI_INIT;
+static expert_field ei_cdt_unable_compress_content;
+static expert_field ei_cdt_unable_uncompress_content;
#include "packet-cdt-fn.c"
@@ -89,7 +89,7 @@ void proto_register_cdt (void) {
};
/* List of subtrees */
- static gint *ett[] = {
+ static int *ett[] = {
#include "packet-cdt-ettarr.c"
};