From cef1f23e899a9ac36bb5e470b389e5d289f6cb0b Mon Sep 17 00:00:00 2001 From: ngoto Date: Tue, 15 Dec 2015 14:20:27 +0000 Subject: * 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(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gc.c') diff --git a/gc.c b/gc.c index cc86a7268c..12be1eac11 100644 --- a/gc.c +++ b/gc.c @@ -1919,7 +1919,7 @@ rb_data_object_wrap(VALUE klass, void *datap, RUBY_DATA_FUNC dmark, RUBY_DATA_FU #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, void *datap, const rb_data_type_t *type) #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) -- cgit v1.2.3