mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Moved Init_encoding from wrong place [Bug #16292]
This commit is contained in:
parent
30a74aaef0
commit
8869384367
1 changed files with 6 additions and 6 deletions
12
encoding.c
12
encoding.c
|
@ -1916,12 +1916,6 @@ rb_enc_aliases(VALUE klass)
|
|||
*
|
||||
*/
|
||||
|
||||
void
|
||||
Init_encodings(void)
|
||||
{
|
||||
rb_enc_init();
|
||||
}
|
||||
|
||||
void
|
||||
Init_Encoding(void)
|
||||
{
|
||||
|
@ -1967,6 +1961,12 @@ Init_Encoding(void)
|
|||
rb_marshal_define_compat(rb_cEncoding, Qnil, NULL, enc_m_loader);
|
||||
}
|
||||
|
||||
void
|
||||
Init_encodings(void)
|
||||
{
|
||||
rb_enc_init();
|
||||
}
|
||||
|
||||
/* locale insensitive ctype functions */
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue