mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rb_encoding
is defined as const
Duplicate type qualifier is not needed.
This commit is contained in:
parent
b6e6807993
commit
e8ce9dfaf4
1 changed files with 1 additions and 1 deletions
2
symbol.c
2
symbol.c
|
@ -247,7 +247,7 @@ struct enc_synmane_type_leading_chars_tag {
|
||||||
#define t struct enc_synmane_type_leading_chars_tag
|
#define t struct enc_synmane_type_leading_chars_tag
|
||||||
|
|
||||||
static struct enc_synmane_type_leading_chars_tag
|
static struct enc_synmane_type_leading_chars_tag
|
||||||
enc_synmane_type_leading_chars(const char *name, long len, const rb_encoding *enc, int allowed_attrset)
|
enc_synmane_type_leading_chars(const char *name, long len, rb_encoding *enc, int allowed_attrset)
|
||||||
{
|
{
|
||||||
const char *m = name;
|
const char *m = name;
|
||||||
const char *e = m + len;
|
const char *e = m + len;
|
||||||
|
|
Loading…
Add table
Reference in a new issue