diff options
author | Tommi Rantala <tt.rantala@gmail.com> | 2012-09-21 07:47:02 +0300 |
---|---|---|
committer | Tommi Rantala <tt.rantala@gmail.com> | 2012-09-28 14:50:03 +0300 |
commit | dcbe6836ebb4ed300ebf529e38e412e94a8197d8 (patch) | |
tree | 27f5142e8dd0198ba7cd128eb92bc98818b8517f | |
parent | 088ac537752a09246da443bff1f893773d4b84d2 (diff) | |
download | libunwind-dcbe6836ebb4ed300ebf529e38e412e94a8197d8.tar.gz |
IA64: constify read only arrays in `tdep_init()'
-rw-r--r-- | src/ia64/Gglobal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ia64/Gglobal.c b/src/ia64/Gglobal.c index f9eea62d..bdd9d449 100644 --- a/src/ia64/Gglobal.c +++ b/src/ia64/Gglobal.c @@ -52,15 +52,15 @@ HIDDEN struct ia64_global_unwind_state unw = HIDDEN void tdep_init (void) { - uint8_t f1_bytes[16] = { + const uint8_t f1_bytes[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; - uint8_t nat_val_bytes[16] = { + const uint8_t nat_val_bytes[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; - uint8_t int_val_bytes[16] = { + const uint8_t int_val_bytes[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |