Remove translit_char
It has been used only for DOSISH other than Windows.
This commit is contained in:
parent
bdb1fc1e5b
commit
0620f006c2
@ -321,16 +321,4 @@ rb_char_next(const char *p)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined DOSISH || defined __CYGWIN__
|
||||
static inline void
|
||||
translit_char(char *p, int from, int to)
|
||||
{
|
||||
while (*p) {
|
||||
if ((unsigned char)*p == from)
|
||||
*p = to;
|
||||
p = CharNext(p);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* RUBY_EVAL_INTERN_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user