libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH 41/57] Constify `operands' in src/dwarf/Gexpr.c


From: Tommi Rantala
Subject: [Libunwind-devel] [PATCH 41/57] Constify `operands' in src/dwarf/Gexpr.c
Date: Fri, 21 Sep 2012 14:11:42 +0300

---
 src/dwarf/Gexpr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dwarf/Gexpr.c b/src/dwarf/Gexpr.c
index 6eaffca..ef8b32a 100644
--- a/src/dwarf/Gexpr.c
+++ b/src/dwarf/Gexpr.c
@@ -49,7 +49,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.  */
 #define OFFSET 0x6     /* 32-bit offset for 32-bit DWARF, 64-bit otherwise */
 #define ADDR   0x7     /* Machine address.  */
 
-static uint8_t operands[256] =
+static const uint8_t operands[256] =
   {
     [DW_OP_addr] =             OPND1 (ADDR),
     [DW_OP_const1u] =          OPND1 (VAL8),
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]