diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-12 03:30:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-12 03:30:45 +0000 |
commit | ecf0c48d5a8308500f2331287fe88c88d6c43b70 (patch) | |
tree | 119a0775a465f2f7ca16c8da1faf6d9e935da3fa /intern.h | |
parent | 1a98699db611246783f24452d069514342f400a0 (diff) |
* 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
Diffstat (limited to 'intern.h')
-rw-r--r-- | intern.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); |