summaryrefslogtreecommitdiff
path: root/ext/syck
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-13 14:30:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-13 14:30:54 +0000
commit9401edfe229e14635be9d480473f63b4cbf0a580 (patch)
treeb6f172c054b85293861ba999715bb367f8e1ecf9 /ext/syck
parentbb1338082246be60aec645e3686d34c8ca407eda (diff)
* io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c:
get rid of warnings. fixed: [ruby-core:06247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck')
-rw-r--r--ext/syck/rubyext.c2
-rw-r--r--ext/syck/syck.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/syck/rubyext.c b/ext/syck/rubyext.c
index e3b0777..6ae73a9 100644
--- a/ext/syck/rubyext.c
+++ b/ext/syck/rubyext.c
@@ -1339,7 +1339,7 @@ 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 );
rb_iv_set( self, "@type_id", type_id );
diff --git a/ext/syck/syck.h b/ext/syck/syck.h
index 4d65095..f7ac39f 100644
--- a/ext/syck/syck.h
+++ b/ext/syck/syck.h
@@ -445,6 +445,9 @@ long syck_seq_count( SyckNode * );
* Lexer prototypes
*/
void syckerror( char * );
+int syckparse( void * );
+union YYSTYPE;
+int sycklex( union YYSTYPE *, SyckParser * );
#if defined(__cplusplus)
} /* extern "C" { */