summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-04 19:06:19 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-04 19:06:19 +0900
commitc8b001858ed6911db4285d239193bc2384ff6ce0 (patch)
treef7030da36f1f60d6e7b61226d1a67a70e9b8ce0b
parent9e472e18d22d013f5da7d5a3769599c5fb763f43 (diff)
downloadruby-c8b001858ed6911db4285d239193bc2384ff6ce0.tar.gz
Revert "marshal.c: new functions for extensions"
This reverts a commit miss, 24a96a0228ccf355826644a9daad69e11b67b53b.
-rw-r--r--include/ruby/intern.h2
-rw-r--r--marshal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index bf8c89646c..737c98b64f 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -598,8 +598,6 @@ void rb_fd_fix_cloexec(int fd);
/* marshal.c */
VALUE rb_marshal_dump(VALUE, VALUE);
VALUE rb_marshal_load(VALUE);
-VALUE rb_marshal_dump_limited(VALUE obj, VALUE port, int level);
-VALUE rb_marshal_load_with_proc(VALUE port, VALUE proc);
void rb_marshal_define_compat(VALUE newclass, VALUE oldclass, VALUE (*dumper)(VALUE), VALUE (*loader)(VALUE, VALUE));
/* numeric.c */
NORETURN(void rb_num_zerodiv(void));
diff --git a/marshal.c b/marshal.c
index 446f91c38a..73d36e2a32 100644
--- a/marshal.c
+++ b/marshal.c
@@ -106,6 +106,8 @@ typedef struct {
static st_table *compat_allocator_tbl;
static VALUE compat_allocator_tbl_wrapper;
+static VALUE rb_marshal_dump_limited(VALUE obj, VALUE port, int limit);
+static VALUE rb_marshal_load_with_proc(VALUE port, VALUE proc);
static int
mark_marshal_compat_i(st_data_t key, st_data_t value)