Skip to content

Commit

Permalink
Declare ARMSCII-8 conversion functions as 'static'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdowad committed Aug 30, 2021
1 parent 97b7fc8 commit 9363b0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/mbstring/libmbfl/filters/mbfilter_singlebyte.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ static const unsigned char ucs_armscii8_table[] = {
};
DEF_SB(armscii8, "ArmSCII-8", "ArmSCII-8", armscii8_aliases);

int mbfl_filt_conv_armscii8_wchar(int c, mbfl_convert_filter *filter)
static int mbfl_filt_conv_armscii8_wchar(int c, mbfl_convert_filter *filter)
{
int s;

Expand All @@ -562,7 +562,7 @@ int mbfl_filt_conv_armscii8_wchar(int c, mbfl_convert_filter *filter)
return c;
}

int mbfl_filt_conv_wchar_armscii8(int c, mbfl_convert_filter *filter)
static int mbfl_filt_conv_wchar_armscii8(int c, mbfl_convert_filter *filter)
{
if (c >= 0x28 && c <= 0x2F) {
CK((*filter->output_function)(ucs_armscii8_table[c - 0x28], filter->data));
Expand Down

0 comments on commit 9363b0b

Please sign in to comment.