summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-06-07 14:15:59 -0400
committerPeter Zhu <peter@peterzhu.ca>2022-06-07 14:15:59 -0400
commitbf4684d9992615b84781f0f688624c95e0ecaadb (patch)
treea354b4b1f8f738978af1d9953e3633a30b5c2c24
parent19c6aaca939e1d42030d171bc0e8f2098dc7f535 (diff)
Remove duplicated prototype in header file
rb_imemo_new is defined again later in the file.
-rw-r--r--internal/imemo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/imemo.h b/internal/imemo.h
index ea36c4514f..53d82eb20f 100644
--- a/internal/imemo.h
+++ b/internal/imemo.h
@@ -128,7 +128,6 @@ struct MEMO {
MEMO_FOR(type, value))
typedef struct rb_imemo_tmpbuf_struct rb_imemo_tmpbuf_t;
-VALUE rb_imemo_new(enum imemo_type type, VALUE v1, VALUE v2, VALUE v3, VALUE v0);
rb_imemo_tmpbuf_t *rb_imemo_tmpbuf_parser_heap(void *buf, rb_imemo_tmpbuf_t *old_heap, size_t cnt);
struct vm_ifunc *rb_vm_ifunc_new(rb_block_call_func_t func, const void *data, int min_argc, int max_argc);
void rb_strterm_mark(VALUE obj);