aboutsummaryrefslogtreecommitdiff
path: root/gdb/charset.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-09 18:03:38 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-09 18:03:38 +0000
commit4ef3f3be7ae2203142ecf69debf476b3545c7653 (patch)
treedcd54051f238a7405266dfe99b3fb25bb404ea5e /gdb/charset.c
parent754533e434690f9b836c21e5457e2d3e6e1625b1 (diff)
downloadgdb-4ef3f3be7ae2203142ecf69debf476b3545c7653.zip
gdb-4ef3f3be7ae2203142ecf69debf476b3545c7653.tar.gz
gdb-4ef3f3be7ae2203142ecf69debf476b3545c7653.tar.bz2
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* infrun.c (follow_fork): Use ISO C definition. * expprint.c (print_subexp): Use xfree instead of free. * charset.c: Include "gdb_string.h" instead of <string.h>. (register_iconv_charsets): Use ISO C definition. (host_charset, target_charset): Ditto. * Makefile.in (charset.o): Update dependencies. (mi-cmd-env.o): Update dependencies. Index: mi/ChangeLog 2003-01-09 Andrew Cagney <ac131313@redhat.com> * mi-cmd-env.c: Include "gdb_string.h" instead of <string.h>. Move all includes to after "defs.h".
Diffstat (limited to 'gdb/charset.c')
-rw-r--r--gdb/charset.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/charset.c b/gdb/charset.c
index 00e1065..d24eb70 100644
--- a/gdb/charset.c
+++ b/gdb/charset.c
@@ -24,7 +24,7 @@
#include "gdb_assert.h"
#include <stddef.h>
-#include <string.h>
+#include "gdb_string.h"
#include <ctype.h>
#ifdef HAVE_ICONV
@@ -442,7 +442,7 @@ cached_iconv_convert (struct cached_iconv *ci, int from_char, int *to_char)
static void
-register_iconv_charsets ()
+register_iconv_charsets (void)
{
/* Here we should check whether various character sets were
recognized by the local iconv implementation.
@@ -479,7 +479,7 @@ cached_iconv_convert (struct cached_iconv *ci, int from_char, int *to_char)
}
static void
-register_iconv_charsets ()
+register_iconv_charsets (void)
{
}
@@ -1016,7 +1016,7 @@ set_host_charset (const char *charset)
const char *
-host_charset ()
+host_charset (void)
{
return current_host_charset->name;
}
@@ -1032,7 +1032,7 @@ set_target_charset (const char *charset)
const char *
-target_charset ()
+target_charset (void)
{
return current_target_charset->name;
}