summaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/mbsnrtowcs.c8
-rw-r--r--wcsmbs/mbsrtowcs_l.c8
-rw-r--r--wcsmbs/wcsnrtombs.c8
-rw-r--r--wcsmbs/wcsrtombs.c6
4 files changed, 7 insertions, 23 deletions
diff --git a/wcsmbs/mbsnrtowcs.c b/wcsmbs/mbsnrtowcs.c
index 9c354a939b..73a5c7f0c5 100644
--- a/wcsmbs/mbsnrtowcs.c
+++ b/wcsmbs/mbsnrtowcs.c
@@ -38,12 +38,8 @@ static mbstate_t state;
implementation of stdio because we have to deal with unterminated
buffers. At most NMC bytes will be converted. */
size_t
-__mbsnrtowcs (dst, src, nmc, len, ps)
- wchar_t *dst;
- const char **src;
- size_t nmc;
- size_t len;
- mbstate_t *ps;
+__mbsnrtowcs (wchar_t *dst, const char **src, size_t nmc, size_t len,
+ mbstate_t *ps)
{
const unsigned char *srcend;
struct __gconv_step_data data;
diff --git a/wcsmbs/mbsrtowcs_l.c b/wcsmbs/mbsrtowcs_l.c
index 557b3ed7bc..d71934117d 100644
--- a/wcsmbs/mbsrtowcs_l.c
+++ b/wcsmbs/mbsrtowcs_l.c
@@ -37,12 +37,8 @@
size_t
attribute_hidden
-__mbsrtowcs_l (dst, src, len, ps, l)
- wchar_t *dst;
- const char **src;
- size_t len;
- mbstate_t *ps;
- __locale_t l;
+__mbsrtowcs_l (wchar_t *dst, const char **src, size_t len, mbstate_t *ps,
+ __locale_t l)
{
struct __gconv_step_data data;
size_t result;
diff --git a/wcsmbs/wcsnrtombs.c b/wcsmbs/wcsnrtombs.c
index df83c94391..f257693aba 100644
--- a/wcsmbs/wcsnrtombs.c
+++ b/wcsmbs/wcsnrtombs.c
@@ -37,12 +37,8 @@ static mbstate_t state;
implementation of stdio because we have to deal with unterminated
buffers. At most NWC wide character will be converted. */
size_t
-__wcsnrtombs (dst, src, nwc, len, ps)
- char *dst;
- const wchar_t **src;
- size_t nwc;
- size_t len;
- mbstate_t *ps;
+__wcsnrtombs (char *dst, const wchar_t **src, size_t nwc, size_t len,
+ mbstate_t *ps)
{
struct __gconv_step_data data;
const wchar_t *srcend;
diff --git a/wcsmbs/wcsrtombs.c b/wcsmbs/wcsrtombs.c
index bc8e7b8141..ae30368338 100644
--- a/wcsmbs/wcsrtombs.c
+++ b/wcsmbs/wcsrtombs.c
@@ -35,11 +35,7 @@
static mbstate_t state;
size_t
-__wcsrtombs (dst, src, len, ps)
- char *dst;
- const wchar_t **src;
- size_t len;
- mbstate_t *ps;
+__wcsrtombs (char *dst, const wchar_t **src, size_t len, mbstate_t *ps)
{
struct __gconv_step_data data;
int status;