diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-07-01 13:03:23 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-07-01 13:03:23 +0000 |
commit | 8d5bbb41469656b27d34ac3e334333652f63cefa (patch) | |
tree | 6e47ff7a85ea3bc7efd1a64d084db7b1ca977c39 /epan/dissectors/packet-trmac.c | |
parent | 59e46d816b4c22e4d39778aa3ccff2ac9e847007 (diff) |
Define certain 'const char *...' arrays as static.
Reduces code memory usage and execution time.
(See SVN #50271)
svn path=/trunk/; revision=50292
Diffstat (limited to 'epan/dissectors/packet-trmac.c')
-rw-r--r-- | epan/dissectors/packet-trmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-trmac.c b/epan/dissectors/packet-trmac.c index 155f4007d3..b0cdae8dca 100644 --- a/epan/dissectors/packet-trmac.c +++ b/epan/dissectors/packet-trmac.c @@ -134,7 +134,7 @@ sv_text(tvbuff_t *tvb, int svoff, packet_info *pinfo, proto_tree *tree) guint sv_length, sv_id; guint16 beacon_type, ring; - const char *beacon[] = { + static const char *beacon[] = { "Recovery mode set", "Signal loss error", "Streaming signal not Claim Token MAC frame", "Streaming signal, Claim Token MAC frame" |