[ruby-cvs:50733] nobu:r43590 (trunk): From 33f55b1eac7f044feb59a29da4a5a82bee3f419e Mon Sep 17 00:00:00 2001

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Nov 9 07:42:25 JST 2013


nobu	2013-11-09 07:42:25 +0900 (Sat, 09 Nov 2013)

  New Revision: 43590

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

  Log:
    From 33f55b1eac7f044feb59a29da4a5a82bee3f419e Mon Sep 17 00:00:00 2001
    From: Nobuyoshi Nakada <nobu at ruby-lang.org>
    Date: Fri, 8 Nov 2013 17:40:10 -0500
    Subject: [PATCH 2/2] internal.h: prototype declarations
    
    * internal.h (rb_vm_backtrace_object, rb_gc_count): make prototype
      declarations, not old-K&R style.
    ---
     internal.h | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/internal.h b/internal.h
    index 20a813c..4cea0a8 100644
    --- a/internal.h
    +++ b/internal.h
    @@ -747,7 +747,7 @@ void rb_backtrace_print_as_bugreport(void);
     int rb_backtrace_p(VALUE obj);
     VALUE rb_backtrace_to_str_ary(VALUE obj);
     void rb_backtrace_print_to(VALUE output);
    -VALUE rb_vm_backtrace_object();
    +VALUE rb_vm_backtrace_object(void);
     
     RUBY_SYMBOL_EXPORT_BEGIN
     const char *rb_objspace_data_type_name(VALUE obj);
    @@ -818,7 +818,7 @@ int rb_st_insert_id_and_value(VALUE obj, st_table *tbl, ID key, VALUE value);
     st_table *rb_st_copy(VALUE obj, struct st_table *orig_tbl);
     
     /* gc.c */
    -size_t rb_gc_count();
    +size_t rb_gc_count(void);
     size_t rb_obj_memsize_of(VALUE);
     
     RUBY_SYMBOL_EXPORT_END
    -- 
    1.8.4.2

  Modified files:
    trunk/internal.h


More information about the ruby-cvs mailing list