mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
intern.h: suppress warnings
* include/ruby/intern.h (rb_disable_super, rb_enable_super): remove NORETURN. these do nothing but just return. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f2535e1467
commit
65bbd0884c
1 changed files with 2 additions and 2 deletions
|
@ -371,8 +371,8 @@ NORETURN(VALUE rb_f_exit(int, const VALUE*));
|
||||||
NORETURN(VALUE rb_f_abort(int, const VALUE*));
|
NORETURN(VALUE rb_f_abort(int, const VALUE*));
|
||||||
void rb_remove_method(VALUE, const char*);
|
void rb_remove_method(VALUE, const char*);
|
||||||
void rb_remove_method_id(VALUE, ID);
|
void rb_remove_method_id(VALUE, ID);
|
||||||
NORETURN(DEPRECATED(static inline void rb_disable_super(void)));
|
DEPRECATED(static inline void rb_disable_super(void));
|
||||||
NORETURN(DEPRECATED(static inline void rb_enable_super(void)));
|
DEPRECATED(static inline void rb_enable_super(void));
|
||||||
static inline void rb_disable_super(void)
|
static inline void rb_disable_super(void)
|
||||||
{
|
{
|
||||||
/* obsolete - no use */
|
/* obsolete - no use */
|
||||||
|
|
Loading…
Reference in a new issue