diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-03 20:54:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-03 20:54:43 +0000 |
commit | a9596cd98aa07c137ed362c7d92df64213b4fa04 (patch) | |
tree | 93d2aea2e0fa868da0f9b56626e5cfe8c2341869 /gdb/charset.c | |
parent | 74eda9eb7acc3c2bd375826f92e8ca233d5f767a (diff) | |
download | binutils-cagney_writestrings-20030508-branch.zip binutils-cagney_writestrings-20030508-branch.tar.gz binutils-cagney_writestrings-20030508-branch.tar.bz2 |
Snap const char * mess.cagney_writestrings-20030508-branch
Diffstat (limited to 'gdb/charset.c')
-rw-r--r-- | gdb/charset.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/charset.c b/gdb/charset.c index 0062e28..638fb3a 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -1046,7 +1046,8 @@ set_target_charset (const char *charset) /* This is the sfunc for the 'set charset' command. */ static void -set_charset_sfunc (char *charset, int from_tty, struct cmd_list_element *c) +set_charset_sfunc (const char *charset, int from_tty, + struct cmd_list_element *c) { struct charset *cs = lookup_charset_or_error (host_charset_name); check_valid_host_charset (cs); @@ -1058,7 +1059,7 @@ set_charset_sfunc (char *charset, int from_tty, struct cmd_list_element *c) /* 'set host-charset' command sfunc. We need a wrapper here because the function needs to have a specific signature. */ static void -set_host_charset_sfunc (char *charset, int from_tty, +set_host_charset_sfunc (const char *charset, int from_tty, struct cmd_list_element *c) { set_host_charset (host_charset_name); @@ -1066,15 +1067,15 @@ set_host_charset_sfunc (char *charset, int from_tty, /* Wrapper for the 'set target-charset' command. */ static void -set_target_charset_sfunc (char *charset, int from_tty, - struct cmd_list_element *c) +set_target_charset_sfunc (const char *charset, int from_tty, + struct cmd_list_element *c) { set_target_charset (target_charset_name); } /* sfunc for the 'show charset' command. */ static void -show_charset (char *arg, int from_tty) +show_charset (const char *arg, int from_tty) { if (current_host_charset == current_target_charset) { |