From 33f89dbaf81e40d6e7a6ce17519e30fa435f941a Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 31 Mar 2004 03:05:22 +0000 Subject: * intern.h: provide proper prototypes. [ruby-core:02724] * ruby.h: missing.h is now prerequisite to intern.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++++-- intern.h | 6 +++--- ruby.h | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 99f9ab9560..b59f7ce538 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,11 @@ -Wed Mar 31 11:52:26 2004 Nobuyoshi Nakada +Wed Mar 31 12:04:04 2004 Nobuyoshi Nakada * lib/delegate.rb (DelegateClass): define internal methods of the - result class, but not metaclass of the caller. + result class, but not metaclass of the caller. [ruby-talk:96156] + + * intern.h: provide proper prototypes. [ruby-core:02724] + + * ruby.h: missing.h is now prerequisite to intern.h. Tue Mar 30 20:25:34 2004 Tanaka Akira diff --git a/intern.h b/intern.h index 5d7e9e78f3..066faa773a 100644 --- a/intern.h +++ b/intern.h @@ -210,8 +210,8 @@ VALUE rb_thread_create _((VALUE (*)(ANYARGS), void*)); void rb_thread_interrupt _((void)); void rb_thread_trap_eval _((VALUE, int)); void rb_thread_signal_raise _((char*)); -int rb_thread_select(ANYARGS); -void rb_thread_wait_for(ANYARGS); +int rb_thread_select _((int, fd_set *, fd_set *, fd_set *, struct timeval *)); +void rb_thread_wait_for _((struct timeval time)); VALUE rb_thread_current _((void)); VALUE rb_thread_main _((void)); VALUE rb_thread_local_aref _((VALUE, ID)); @@ -430,7 +430,7 @@ VALUE rb_struct_aset _((VALUE, VALUE, VALUE)); VALUE rb_struct_getmember _((VALUE, ID)); VALUE rb_struct_iv_get _((VALUE, char*)); /* time.c */ -VALUE rb_time_new(ANYARGS); +VALUE rb_time_new _((time_t, time_t)); /* variable.c */ VALUE rb_mod_name _((VALUE)); VALUE rb_class_path _((VALUE)); diff --git a/ruby.h b/ruby.h index fd62a89294..db3280b905 100644 --- a/ruby.h +++ b/ruby.h @@ -667,8 +667,8 @@ rb_special_const_p(obj) return Qfalse; } -#include "intern.h" #include "missing.h" +#include "intern.h" #if defined(EXTLIB) && defined(USE_DLN_A_OUT) /* hook for external modules */ -- cgit v1.2.3