aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-esis.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-07-30 01:01:02 +0000
committerJörg Mayer <jmayer@loplof.de>2005-07-30 01:01:02 +0000
commit5602f5bb833647428967edbc5b1e99bf865646f0 (patch)
treeed2fe5de1d2a6b127f90d567fa0f4d98d5f4717d /epan/dissectors/packet-esis.c
parent29060b1082fcf7afa4652c78df48c70e3cda4d8f (diff)
Make some funtions static. More char -> const char warning fixes
svn path=/trunk/; revision=15146
Diffstat (limited to 'epan/dissectors/packet-esis.c')
-rw-r--r--epan/dissectors/packet-esis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-esis.c b/epan/dissectors/packet-esis.c
index 44e5cda45d..793e86bcfb 100644
--- a/epan/dissectors/packet-esis.c
+++ b/epan/dissectors/packet-esis.c
@@ -139,7 +139,7 @@ static void esis_dissect_redirect_pdu( guint8 len, tvbuff_t *tvb,
* void (may modify proto tree)
*/
static void
-esis_dissect_unknown( tvbuff_t *tvb, proto_tree *tree, char *fmat, ...){
+esis_dissect_unknown( tvbuff_t *tvb, proto_tree *tree, const char *fmat, ...){
va_list ap;
va_start(ap, fmat);
@@ -274,13 +274,13 @@ esis_dissect_redirect_pdu( guint8 len, tvbuff_t *tvb, proto_tree *tree) {
static void
dissect_esis(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
const char *pdu_type_string = NULL;
- char *pdu_type_format_string = "PDU Type : %s (R:%s%s%s)";
+ const char *pdu_type_format_string = "PDU Type : %s (R:%s%s%s)";
esis_hdr_t ehdr;
proto_item *ti;
proto_tree *esis_tree = NULL;
guint8 variable_len;
guint tmp_uint = 0;
- char *cksum_status;
+ const char *cksum_status;
if (check_col(pinfo->cinfo, COL_PROTOCOL))
col_set_str(pinfo->cinfo, COL_PROTOCOL, "ESIS");