aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h235
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-05-21 05:41:39 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-05-21 05:41:39 +0000
commit45b3155321b9c080a7bd27c262a132d4eef7a873 (patch)
tree1f9bc7a3f013fc8d55588e5bdd0414a03bb70406 /asn1/h235
parentaaeee9accaddf89263d40fbe20a57affecbeefc4 (diff)
Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25335
Diffstat (limited to 'asn1/h235')
-rw-r--r--asn1/h235/Makefile.nmake4
-rw-r--r--asn1/h235/h235.cnf20
2 files changed, 19 insertions, 5 deletions
diff --git a/asn1/h235/Makefile.nmake b/asn1/h235/Makefile.nmake
index 5a32997c60..6aa21c4986 100644
--- a/asn1/h235/Makefile.nmake
+++ b/asn1/h235/Makefile.nmake
@@ -27,3 +27,7 @@ include ../Makefile.preinc.nmake
include Makefile.common
include ../Makefile.inc.nmake
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl \
+ $(PROTOCOL_NAME).cnf \
+ packet-$(PROTOCOL_NAME)-template.c \ No newline at end of file
diff --git a/asn1/h235/h235.cnf b/asn1/h235/h235.cnf
index 98644aa03f..74032a5448 100644
--- a/asn1/h235/h235.cnf
+++ b/asn1/h235/h235.cnf
@@ -53,21 +53,31 @@ NonStandardParameter/data TYPE = FT_UINT32 DISPLAY = BASE_DEC
#.END
#.FN_HDR SIGNED
- proto_tree_add_item_hidden(tree, proto_h235, tvb, offset, 0, FALSE);
+ proto_item *hidden_item;
+ hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, FALSE);
+ PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END
#.FN_HDR ENCRYPTED
- proto_tree_add_item_hidden(tree, proto_h235, tvb, offset, 0, FALSE);
+ proto_item *hidden_item;
+ hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, FALSE);
+ PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END
#.FN_HDR HASHED
- proto_tree_add_item_hidden(tree, proto_h235, tvb, offset, 0, FALSE);
+ proto_item *hidden_item;
+ hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, FALSE);
+ PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END
#.FN_HDR ClearToken
- proto_tree_add_item_hidden(tree, proto_h235, tvb, offset, 0, FALSE);
+ proto_item *hidden_item;
+ hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, FALSE);
+ PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END
#.FN_HDR CryptoToken
- proto_tree_add_item_hidden(tree, proto_h235, tvb, offset, 0, FALSE);
+ proto_item *hidden_item;
+ hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, FALSE);
+ PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END