summaryrefslogtreecommitdiff
path: root/sed/mbcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sed/mbcs.c')
-rw-r--r--sed/mbcs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sed/mbcs.c b/sed/mbcs.c
index 95f2bdb..b84582c 100644
--- a/sed/mbcs.c
+++ b/sed/mbcs.c
@@ -27,9 +27,7 @@ bool is_utf8;
/* Add a byte to the multibyte character represented by the state
CUR_STAT, and answer its length if a character is completed,
or -2 if it is yet to be completed. */
-int brlen (ch, cur_stat)
- int ch;
- mbstate_t *cur_stat;
+int brlen (int ch, mbstate_t *cur_stat)
{
char c = ch;
@@ -47,7 +45,7 @@ int brlen (ch, cur_stat)
}
void
-initialize_mbcs ()
+initialize_mbcs (void)
{
/* For UTF-8, we know that the encoding is stateless. */
const char *codeset_name;