summaryrefslogtreecommitdiff
path: root/intern.h
diff options
context:
space:
mode:
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/intern.h b/intern.h
index 796b5362a0..ced4e017fb 100644
--- a/intern.h
+++ b/intern.h
@@ -7,7 +7,7 @@ void memclear _((register VALUE*, register int));
VALUE assoc_new _((VALUE, VALUE));
VALUE ary_new _((void));
VALUE ary_new2 _((int));
-VALUE ary_new3 _((int,...));
+VALUE ary_new3 __((int,...));
VALUE ary_new4 _((int, VALUE *));
VALUE ary_freeze _((VALUE));
VALUE ary_aref(int, VALUE*, VALUE);
@@ -84,11 +84,11 @@ VALUE enum_length _((VALUE));
VALUE exc_new _((VALUE, char*, unsigned int));
VALUE exc_new2 _((VALUE, char*));
VALUE exc_new3 _((VALUE, VALUE));
-void TypeError _((char*, ...));
-void ArgError _((char*, ...));
-void NameError _((char*, ...));
-void IndexError _((char*, ...));
-void LoadError _((char*, ...));
+void TypeError __((char*, ...)) NORETURN;
+void ArgError __((char*, ...)) NORETURN;
+void NameError __((char*, ...)) NORETURN;
+void IndexError __((char*, ...)) NORETURN;
+void LoadError __((char*, ...)) NORETURN;
/* eval.c */
void rb_remove_method _((VALUE, char*));
void rb_disable_super _((VALUE, char*));
@@ -260,8 +260,8 @@ VALUE str_upto _((VALUE, VALUE));
VALUE str_inspect _((VALUE));
VALUE str_split _((VALUE, char*));
/* struct.c */
-VALUE struct_new _((VALUE, ...));
-VALUE struct_define _((char*, ...));
+VALUE struct_new __((VALUE, ...));
+VALUE struct_define __((char*, ...));
VALUE struct_alloc _((VALUE, VALUE));
VALUE struct_aref _((VALUE, VALUE));
VALUE struct_aset _((VALUE, VALUE, VALUE));