aboutsummaryrefslogtreecommitdiff
path: root/gdb/charset.c
diff options
context:
space:
mode:
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;
}