diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-08 11:36:57 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-08 11:36:57 +0000 |
commit | 7f2b4025bb4c7a83806542dd23a99d43ed5a819a (patch) | |
tree | e3f0b6519d25dcfe694470232deac59abf88606c | |
parent | ada26549bbedc1c195f74737482209109794a7fb (diff) | |
download | ruby-7f2b4025bb4c7a83806542dd23a99d43ed5a819a.tar.gz |
* include/ruby/intern.h: Remove excess semicolons in PUREFUNC().
Fix failure of TestMkmf::TestConvertible on Solaris with
Oracle Solaris Studio 12. [ruby-dev:49651] [Bug #12470]
* internal.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | include/ruby/intern.h | 4 | ||||
-rw-r--r-- | internal.h | 2 |
3 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,10 @@ +Wed Jun 8 20:33:44 2016 Naohisa Goto <ngotogenome@gmail.com> + + * include/ruby/intern.h: Remove excess semicolons in PUREFUNC(). + Fix failure of TestMkmf::TestConvertible on Solaris with + Oracle Solaris Studio 12. [ruby-dev:49651] [Bug #12470] + * internal.h: ditto. + Wed Jun 8 16:03:09 2016 Shugo Maeda <shugo@ruby-lang.org> * lib/net/smtp.rb (getok, get_response): raise an ArgumentError when diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 2a89ea2772..c6520d8443 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -482,7 +482,7 @@ VALUE rb_str_encode_ospath(VALUE); int rb_is_absolute_path(const char *); /* gc.c */ NORETURN(void rb_memerror(void)); -PUREFUNC(int rb_during_gc(void);); +PUREFUNC(int rb_during_gc(void)); void rb_gc_mark_locations(const VALUE*, const VALUE*); void rb_mark_tbl(struct st_table*); void rb_mark_set(struct st_table*); @@ -784,7 +784,7 @@ VALUE rb_sym_to_s(VALUE); long rb_str_strlen(VALUE); VALUE rb_str_length(VALUE); long rb_str_offset(VALUE, long); -PUREFUNC(size_t rb_str_capacity(VALUE);); +PUREFUNC(size_t rb_str_capacity(VALUE)); VALUE rb_str_ellipsize(VALUE, long); VALUE rb_str_scrub(VALUE, VALUE); /* symbol.c */ diff --git a/internal.h b/internal.h index 38c7986734..1294b8d091 100644 --- a/internal.h +++ b/internal.h @@ -1452,7 +1452,7 @@ VALUE rb_obj_is_thread(VALUE obj); void rb_vm_mark(void *ptr); void Init_BareVM(void); void Init_vm_objects(void); -PUREFUNC(VALUE rb_vm_top_self(void);); +PUREFUNC(VALUE rb_vm_top_self(void)); void rb_thread_recycle_stack_release(VALUE *); void rb_vm_change_state(void); void rb_vm_inc_const_missing_count(void); |