From ecf0c48d5a8308500f2331287fe88c88d6c43b70 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 12 Sep 2003 03:30:45 +0000 Subject: * intern.h (rb_disable_super, rb_enable_super): replace with dummy expressions instead of prototypes. the functions remain yet for binary compatibility. [ruby-talk:81758] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- intern.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern.h') diff --git a/intern.h b/intern.h index 1850f7b187..3417acb08b 100644 --- a/intern.h +++ b/intern.h @@ -146,8 +146,8 @@ NORETURN(void rb_exc_fatal _((VALUE))); VALUE rb_f_exit _((int,VALUE*)); VALUE rb_f_abort _((int,VALUE*)); void rb_remove_method _((VALUE, const char*)); -void rb_disable_super _((VALUE, const char*)); -void rb_enable_super _((VALUE, const char*)); +#define rb_disable_super(klass, name) ((void)0) +#define rb_enable_super(klass, name) ((void)0) #define HAVE_RB_DEFINE_ALLOC_FUNC 1 void rb_define_alloc_func _((VALUE, VALUE (*)(VALUE))); void rb_undef_alloc_func _((VALUE)); -- cgit v1.2.3