aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x411
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-02-19 01:09:55 +0000
committerGuy Harris <guy@alum.mit.edu>2007-02-19 01:09:55 +0000
commitd00fe9517b75b9f074a46da6d16201ef0aa479d9 (patch)
tree4cf3338c994fe3def0a5fa23eaa37c416cf9d192 /asn1/x411
parent1a2a777a1f629892be9c2dc63f1ce3d50f2673b6 (diff)
dissect_x411_mts_apdu() is an old-style dissector, so it shouldn't
return any value. svn path=/trunk/; revision=20844
Diffstat (limited to 'asn1/x411')
-rw-r--r--asn1/x411/packet-x411-template.c4
-rw-r--r--asn1/x411/packet-x411-template.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/asn1/x411/packet-x411-template.c b/asn1/x411/packet-x411-template.c
index af0ea164bb..07795f53ac 100644
--- a/asn1/x411/packet-x411-template.c
+++ b/asn1/x411/packet-x411-template.c
@@ -100,7 +100,7 @@ call_x411_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *p
/*
* Dissect X411 MTS APDU
*/
-int
+void
dissect_x411_mts_apdu (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
{
proto_item *item=NULL;
@@ -119,7 +119,7 @@ dissect_x411_mts_apdu (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tre
if (check_col(pinfo->cinfo, COL_INFO))
col_set_str(pinfo->cinfo, COL_INFO, "Transfer");
- return dissect_x411_MTS_APDU (FALSE, tvb, 0, pinfo, tree, hf_x411_MTS_APDU_PDU);
+ dissect_x411_MTS_APDU (FALSE, tvb, 0, pinfo, tree, hf_x411_MTS_APDU_PDU);
}
/*
diff --git a/asn1/x411/packet-x411-template.h b/asn1/x411/packet-x411-template.h
index 26ee0ee798..16e244e41d 100644
--- a/asn1/x411/packet-x411-template.h
+++ b/asn1/x411/packet-x411-template.h
@@ -26,7 +26,7 @@
#ifndef PACKET_X411_H
#define PACKET_X411_H
-int dissect_x411_mts_apdu (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree);
+void dissect_x411_mts_apdu (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree);
#include "packet-x411-exp.h"
#endif /* PACKET_X411_H */