Hi,

At Wed, 12 Oct 2005 23:05:01 +0900,
noreply / rubyforge.org wrote in [ruby-core:06247]:
> Just #include <sys/syscall.h> to fix:
> 	"io.c", line 4896:
> 	warning: implicit function declaration: syscall

Not syscall.h?  Currently, syscall.h is checked in
configure.in, but the result isn't used.


Index: io.c =================================================================== RCS file: /cvs/ruby/src/ruby/io.c,v retrieving revision 1.390 diff -U2 -p -r1.390 io.c --- io.c 8 Oct 2005 10:33:24 -0000 1.390 +++ io.c 12 Oct 2005 14:55:40 -0000 @@ -73,4 +73,8 @@ #endif +#ifdef HAVE_SYSCALL_H +#include <syscall.h> +#endif + extern void Init_File(void); Index: pack.c =================================================================== RCS file: /cvs/ruby/src/ruby/pack.c,v retrieving revision 1.80 diff -U2 -p -r1.80 pack.c --- pack.c 5 Oct 2005 16:15:15 -0000 1.80 +++ pack.c 12 Oct 2005 14:57:31 -0000 @@ -2021,5 +2021,5 @@ uv_to_utf8(char *buf, unsigned long uv) } -static const long utf8_limits[] = { +static const unsigned long utf8_limits[] = { 0x0, /* 1 */ 0x80, /* 2 */ Index: missing/isinf.c =================================================================== RCS file: /cvs/ruby/src/ruby/missing/isinf.c,v retrieving revision 1.5 diff -U2 -p -r1.5 isinf.c --- missing/isinf.c 21 Dec 2003 10:30:24 -0000 1.5 +++ missing/isinf.c 12 Oct 2005 14:58:42 -0000 @@ -24,4 +24,5 @@ isinf(n) #if defined(HAVE_FINITE) && defined(HAVE_ISNAN) +#include <math.h> #ifdef HAVE_IEEEFP_H #include <ieeefp.h> Index: ext/syck/rubyext.c =================================================================== RCS file: /cvs/ruby/src/ruby/ext/syck/rubyext.c,v retrieving revision 1.52 diff -U2 -p -r1.52 rubyext.c --- ext/syck/rubyext.c 27 Sep 2005 22:57:28 -0000 1.52 +++ ext/syck/rubyext.c 12 Oct 2005 15:02:39 -0000 @@ -1340,5 +1340,5 @@ syck_badalias_cmp( alias1, alias2 ) VALUE syck_domaintype_initialize( self, domain, type_id, val ) - VALUE self, type_id, val; + VALUE self, domain, type_id, val; { rb_iv_set( self, "@domain", domain ); Index: ext/syck/syck.h =================================================================== RCS file: /cvs/ruby/src/ruby/ext/syck/syck.h,v retrieving revision 1.28 diff -U2 -p -r1.28 syck.h --- ext/syck/syck.h 20 Sep 2005 06:50:20 -0000 1.28 +++ ext/syck/syck.h 12 Oct 2005 15:44:33 -0000 @@ -446,4 +446,6 @@ long syck_seq_count( SyckNode * ); */ void syckerror( char * ); +int syckparse( void * ); +int sycklex( union YYSTYPE *, SyckParser * ); #if defined(__cplusplus)
-- Nobu Nakada