aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/vms.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-04-24 12:16:01 +0000
committerBill Meier <wmeier@newsguy.com>2009-04-24 12:16:01 +0000
commit72ef03e60a8ee4ac5768567afe7ad0437fd6ce93 (patch)
treee8832339a7818f0f8cb37e67c84902703884d5d7 /wiretap/vms.c
parented948cc8f71ba810c115c779b854352dca136757 (diff)
[Trivial] Constify a few things
svn path=/trunk/; revision=28144
Diffstat (limited to 'wiretap/vms.c')
-rw-r--r--wiretap/vms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/vms.c b/wiretap/vms.c
index 2a271753f9..51f4683cf2 100644
--- a/wiretap/vms.c
+++ b/wiretap/vms.c
@@ -370,9 +370,9 @@ parse_vms_rec_hdr(wtap *wth, FILE_T fh, int *err, gchar **err_info)
int pktnum;
int csec = 101;
struct tm tm;
- char mon[4] = {'J', 'A', 'N', 0};
+ const char mon[4] = {'J', 'A', 'N', 0};
gchar *p;
- static gchar months[] = "JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC";
+ static const gchar months[] = "JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC";
tm.tm_year = 1970;
tm.tm_hour = 1;
@@ -517,7 +517,7 @@ parse_single_hex_dump_line(char* rec, guint8 *buf, long byte_offset,
int i;
char *s;
int value;
- static int offsets[16] = {39,37,35,33,28,26,24,22,17,15,13,11,6,4,2,0};
+ static const int offsets[16] = {39,37,35,33,28,26,24,22,17,15,13,11,6,4,2,0};
char lbuf[3] = {0,0,0};