aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-visium.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-visium.c')
-rw-r--r--gas/config/tc-visium.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-visium.c b/gas/config/tc-visium.c
index f4e7c14..4ab5fca 100644
--- a/gas/config/tc-visium.c
+++ b/gas/config/tc-visium.c
@@ -282,12 +282,12 @@ struct visium_long_option_table
{
const char *option; /* Substring to match. */
const char *help; /* Help information. */
- int (*func) (char *subopt); /* Function to decode sub-option. */
+ int (*func) (const char *subopt); /* Function to decode sub-option. */
const char *deprecated; /* If non-null, print this message. */
};
static int
-visium_parse_arch (char *str)
+visium_parse_arch (const char *str)
{
struct visium_arch_option_table *opt;
@@ -317,7 +317,7 @@ static struct visium_long_option_table visium_long_opts[] =
};
int
-md_parse_option (int c, char *arg)
+md_parse_option (int c, const char *arg)
{
struct visium_option_table *opt;
struct visium_long_option_table *lopt;