diff options
author | David Benjamin <davidben@mit.edu> | 2013-04-03 12:32:02 -0400 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2013-08-08 00:24:58 -0400 |
commit | 31b7db68471efe243dedb5481d248378a8e559a6 (patch) | |
tree | 0668e1d99b05d6e4726dde685b0b6b957256b92d | |
parent | 15dad3f19e3aa1bfb85ffabcca2a093f458399de (diff) |
Mark cksum_map as const
May as well put it in .rodata
-rw-r--r-- | lib/Zinternal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Zinternal.c b/lib/Zinternal.c index 8ed5c0c..3f6d9c0 100644 --- a/lib/Zinternal.c +++ b/lib/Zinternal.c @@ -45,7 +45,7 @@ int Z_discarded_packets = 0; /* This context is used throughout */ krb5_context Z_krb5_ctx; -static struct cksum_map_s { +static const struct cksum_map_s { krb5_enctype e; krb5_cksumtype c; } cksum_map[] = { |