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

ruby-changes:41054

From: ngoto <ko1@a...>
Date: Tue, 15 Dec 2015 23:20:55 +0900 (JST)
Subject: [ruby-changes:41054] ngoto:r53129 (trunk): * gc.c: Delete excess semicolon after RUBY_ALIAS_FUNCTION().

ngoto	2015-12-15 23:20:27 +0900 (Tue, 15 Dec 2015)

  New Revision: 53129

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

  Log:
    * gc.c: Delete excess semicolon after RUBY_ALIAS_FUNCTION().
      Suppress "syntax error:  empty declaration" warnings by
      Oracle Solaris Studio 12.x on Solaris. [Bug #11821]
    
    * hash.c: ditto, after NOINSERT_UPDATE_CALLBACK().

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/hash.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53128)
+++ ChangeLog	(revision 53129)
@@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Dec 15 23:13:10 2015  Naohisa Goto  <ngotogenome@g...>
+
+	* gc.c: Delete excess semicolon after RUBY_ALIAS_FUNCTION().
+	  Suppress "syntax error:  empty declaration" warnings by
+	  Oracle Solaris Studio 12.x on Solaris. [Bug #11821]
+
+	* hash.c: ditto, after NOINSERT_UPDATE_CALLBACK().
+
 Tue Dec 15 18:04:04 2015  Martin Duerst  <duerst@i...>
 
 	* NEWS: added news about EBCDIC encoding
Index: gc.c
===================================================================
--- gc.c	(revision 53128)
+++ gc.c	(revision 53129)
@@ -1919,7 +1919,7 @@ rb_data_object_wrap(VALUE klass, void *d https://github.com/ruby/ruby/blob/trunk/gc.c#L1919
 #undef rb_data_object_alloc
 RUBY_ALIAS_FUNCTION(rb_data_object_alloc(VALUE klass, void *datap,
 					 RUBY_DATA_FUNC dmark, RUBY_DATA_FUNC dfree),
-		    rb_data_object_wrap, (klass, datap, dmark, dfree));
+		    rb_data_object_wrap, (klass, datap, dmark, dfree))
 
 
 VALUE
@@ -1940,7 +1940,7 @@ rb_data_typed_object_wrap(VALUE klass, v https://github.com/ruby/ruby/blob/trunk/gc.c#L1940
 #undef rb_data_typed_object_alloc
 RUBY_ALIAS_FUNCTION(rb_data_typed_object_alloc(VALUE klass, void *datap,
 					       const rb_data_type_t *type),
-		    rb_data_typed_object_wrap, (klass, datap, type));
+		    rb_data_typed_object_wrap, (klass, datap, type))
 
 VALUE
 rb_data_typed_object_zalloc(VALUE klass, size_t size, const rb_data_type_t *type)
Index: hash.c
===================================================================
--- hash.c	(revision 53128)
+++ hash.c	(revision 53129)
@@ -1491,8 +1491,8 @@ hash_aset_str(st_data_t *key, st_data_t https://github.com/ruby/ruby/blob/trunk/hash.c#L1491
     return hash_aset(key, val, arg, existing);
 }
 
-NOINSERT_UPDATE_CALLBACK(hash_aset);
-NOINSERT_UPDATE_CALLBACK(hash_aset_str);
+NOINSERT_UPDATE_CALLBACK(hash_aset)
+NOINSERT_UPDATE_CALLBACK(hash_aset_str)
 
 /*
  *  call-seq:
@@ -2247,7 +2247,7 @@ rb_hash_update_callback(st_data_t *key, https://github.com/ruby/ruby/blob/trunk/hash.c#L2247
     return ST_CONTINUE;
 }
 
-NOINSERT_UPDATE_CALLBACK(rb_hash_update_callback);
+NOINSERT_UPDATE_CALLBACK(rb_hash_update_callback)
 
 static int
 rb_hash_update_i(VALUE key, VALUE value, VALUE hash)
@@ -2274,7 +2274,7 @@ rb_hash_update_block_callback(st_data_t https://github.com/ruby/ruby/blob/trunk/hash.c#L2274
     return ST_CONTINUE;
 }
 
-NOINSERT_UPDATE_CALLBACK(rb_hash_update_block_callback);
+NOINSERT_UPDATE_CALLBACK(rb_hash_update_block_callback)
 
 static int
 rb_hash_update_block_i(VALUE key, VALUE value, VALUE hash)
@@ -2345,7 +2345,7 @@ rb_hash_update_func_callback(st_data_t * https://github.com/ruby/ruby/blob/trunk/hash.c#L2345
     return ST_CONTINUE;
 }
 
-NOINSERT_UPDATE_CALLBACK(rb_hash_update_func_callback);
+NOINSERT_UPDATE_CALLBACK(rb_hash_update_func_callback)
 
 static int
 rb_hash_update_func_i(VALUE key, VALUE value, VALUE arg0)

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

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