This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] cc_table & others multiply defined
- From: Daniel Santos <daniel dot santos at pobox dot com>
- To: binutils <binutils at sourceware dot org>
- Cc: Daniel Santos <daniel dot santos at pobox dot com>
- Date: Fri, 3 Jul 2015 23:27:58 -0500
- Subject: [PATCH] cc_table & others multiply defined
- Authentication-results: sourceware.org; auth=none
- Reply-to: Daniel Santos <daniel dot santos at pobox dot com>
---
include/opcode/visium.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/opcode/visium.h b/include/opcode/visium.h
index c6048c9..f3704c3 100644
--- a/include/opcode/visium.h
+++ b/include/opcode/visium.h
@@ -104,7 +104,7 @@ struct reg_entry
unsigned char code;
};
-const struct reg_entry gen_reg_table[] =
+static const struct reg_entry gen_reg_table[] =
{
{"fp", 0x16},
{"r0", 0x0},
@@ -142,7 +142,7 @@ const struct reg_entry gen_reg_table[] =
{"sp", 0x17},
};
-const struct reg_entry fp_reg_table[] =
+static const struct reg_entry fp_reg_table[] =
{
{"f0", 0x0},
{"f1", 0x1},
@@ -162,7 +162,7 @@ const struct reg_entry fp_reg_table[] =
{"f9", 0x9},
};
-const struct cc_entry
+static const struct cc_entry
{
char *name;
int code;
--
2.3.5