]> granicus.if.org Git - yasm/commitdiff
Unconst-ify declarations of yasm_arch_module and yasm_parser_module in
authorPeter Johnson <peter@tortall.net>
Sat, 18 Oct 2003 01:18:54 +0000 (01:18 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 18 Oct 2003 01:18:54 +0000 (01:18 -0000)
modules; when declared const, it breaks libtool visibility of the symbols!

svn path=/trunk/yasm/; revision=1067

modules/arch/x86/x86arch.c
modules/parsers/nasm/nasm-parser.c

index 669f883f13434010ddb4944185ba970c12d7d86a..f098f64b0513e8b3719cc6c2ae6013cd0d751fe7 100644 (file)
@@ -33,7 +33,7 @@
 #include "x86arch.h"
 
 
-const yasm_arch_module yasm_x86_LTX_arch;
+yasm_arch_module yasm_x86_LTX_arch;
 
 
 static /*@only@*/ yasm_arch *
@@ -247,7 +247,7 @@ static yasm_arch_machine x86_machines[] = {
 };
 
 /* Define arch structure -- see arch.h for details */
-const yasm_arch_module yasm_x86_LTX_arch = {
+yasm_arch_module yasm_x86_LTX_arch = {
     YASM_ARCH_VERSION,
     "x86 (IA-32 and derivatives), AMD64",
     "x86",
index 649cd353082279ad4f50dc6c25e0395d076efc48..1b6b60ed920901dc59e3d257763943719c7c24f9 100644 (file)
@@ -96,7 +96,7 @@ static const char *nasm_parser_preproc_keywords[] = {
 };
 
 /* Define parser structure -- see parser.h for details */
-const yasm_parser_module yasm_nasm_LTX_parser = {
+yasm_parser_module yasm_nasm_LTX_parser = {
     YASM_PARSER_VERSION,
     "NASM-compatible parser",
     "nasm",