[PATCH] XCore target: add support to build MultiSource/Applications/JM/lencod

robert lytton robert at xmos.com
Thu Feb 13 11:33:47 PST 2014


XCore requires C-linkage const data to be consistently declared
add missing 'const' qualifier

http://llvm-reviews.chandlerc.com/D2778

Files:
  MultiSource/Applications/JM/lencod/slice.c

Index: MultiSource/Applications/JM/lencod/slice.c
===================================================================
--- MultiSource/Applications/JM/lencod/slice.c
+++ MultiSource/Applications/JM/lencod/slice.c
@@ -1206,7 +1206,7 @@
   }
 }
 
-extern int QP2QUANT[40];
+extern const int QP2QUANT[40];
 
 void SetLagrangianMultipliers()
 {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2778.1.patch
Type: text/x-patch
Size: 340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/dc9ab719/attachment.bin>


More information about the llvm-commits mailing list