From 1b92c12743b02a1d311fc3fa6678afeb68e25752 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 14 May 2003 10:57:42 +0000 Subject: * ext/syck/rubyext.c: add prototypes to avoid VC++ warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 +++++- ext/syck/rubyext.c | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5b98fdc3d0..94c81d09a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed May 14 19:56:43 2003 NAKAMURA Usaku + + * ext/syck/rubyext.c: add prototypes to avoid VC++ warnings. + Wed May 14 12:23:46 2003 Minero Aoki * lib/net/http.rb (Net::HTTP#start): should check whether HTTP @@ -12,7 +16,7 @@ Tue May 13 22:31:04 2003 why the lucky stiff * lib/yaml/rubytypes.rb, lib/yaml/types.rb: using Object#object_id rather than deprecated Object#id. - * ext/token.c: changed ASCII escapes to octal notation. + * ext/syck/token.c: changed ASCII escapes to octal notation. * ext/Setup*: added entries for static linking of Syck extension. diff --git a/ext/syck/rubyext.c b/ext/syck/rubyext.c index 835c35dcee..6be76d4b4e 100644 --- a/ext/syck/rubyext.c +++ b/ext/syck/rubyext.c @@ -29,6 +29,10 @@ static double S_nan() { return S_zero() / S_zero(); } static VALUE syck_node_transform( VALUE ); +SYMID rb_syck_parse_handler _((SyckParser *, SyckNode *)); +SYMID rb_syck_load_handler _((SyckParser *, SyckNode *)); +void rb_syck_err_handler _((SyckParser *, char *)); + /* * read from io. */ -- cgit v1.2.3