diff --git a/ChangeLog b/ChangeLog index d95a38a3ee..56b4624207 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,11 @@ -Wed Mar 31 11:52:39 2004 Nobuyoshi Nakada +Wed Mar 31 12:05:17 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. Wed Mar 31 11:17:16 2004 Yukihiro Matsumoto diff --git a/intern.h b/intern.h index 9bfa69b28d..71c03cd066 100644 --- a/intern.h +++ b/intern.h @@ -213,8 +213,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)); @@ -444,7 +444,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 f7e324d9e5..40263f43c5 100644 --- a/ruby.h +++ b/ruby.h @@ -673,8 +673,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 */