[前][次][番号順一覧][スレッド一覧]

ruby-changes:43253

From: ngoto <ko1@a...>
Date: Wed, 8 Jun 2016 20:37:02 +0900 (JST)
Subject: [ruby-changes:43253] ngoto:r55327 (trunk): * include/ruby/intern.h: Remove excess semicolons in PUREFUNC().

ngoto	2016-06-08 20:36:57 +0900 (Wed, 08 Jun 2016)

  New Revision: 55327

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55327

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/intern.h
    trunk/internal.h
Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 55326)
+++ include/ruby/intern.h	(revision 55327)
@@ -482,7 +482,7 @@ VALUE rb_str_encode_ospath(VALUE); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L482
 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); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L784
 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 */
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55326)
+++ ChangeLog	(revision 55327)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jun  8 20:33:44 2016  Naohisa Goto  <ngotogenome@g...>
+
+	* 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@r...>
 
 	* lib/net/smtp.rb (getok, get_response): raise an ArgumentError when
Index: internal.h
===================================================================
--- internal.h	(revision 55326)
+++ internal.h	(revision 55327)
@@ -1452,7 +1452,7 @@ VALUE rb_obj_is_thread(VALUE obj); https://github.com/ruby/ruby/blob/trunk/internal.h#L1452
 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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]