aboutsummaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-24 15:09:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-24 15:09:16 +0000
commitbbdd2a396666538bfcfe773abc078ec89f6de9f6 (patch)
tree5ead555134d75aecf94145a5bfe93a702019eafa /error.c
parentf1039b8417d4cd44df44bb4fdd1376e9ac187631 (diff)
downloadruby-bbdd2a396666538bfcfe773abc078ec89f6de9f6.tar.gz
revert deprecated functions
* error.c (rb_compile_error_with_enc, rb_compile_error), (rb_compile_bug): revert deprecate internal functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/error.c b/error.c
index a42f789804..f2c86448e7 100644
--- a/error.c
+++ b/error.c
@@ -127,7 +127,6 @@ compile_err_append(VALUE mesg)
th->base_block = prev_base_block;
}
-#if 0
void
rb_compile_error_with_enc(const char *file, int line, void *enc, const char *fmt, ...)
{
@@ -151,7 +150,6 @@ rb_compile_error(const char *file, int line, const char *fmt, ...)
va_end(args);
compile_err_append(str);
}
-#endif
void
rb_compile_error_str(VALUE file, int line, void *enc, const char *fmt, ...)
@@ -485,7 +483,6 @@ rb_async_bug_errno(const char *mesg, int errno_arg)
abort();
}
-#if 0
void
rb_compile_bug(const char *file, int line, const char *fmt, ...)
{
@@ -493,7 +490,6 @@ rb_compile_bug(const char *file, int line, const char *fmt, ...)
abort();
}
-#endif
void
rb_compile_bug_str(VALUE file, int line, const char *fmt, ...)