diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/syck/syck.c | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Thu May 15 09:50:51 2003 NAKAMURA Usaku <usa@ruby-lang.org> + + * ext/syck/syck.c (syck_parser_pop_level): add prototype. + + * ext/syck/syck.c (syck_strndup): should return value. + Thu May 15 09:32:25 2003 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (kill): fix typo and add signal 0 support. diff --git a/ext/syck/syck.c b/ext/syck/syck.c index fdec7a95e2..df68768fed 100644 --- a/ext/syck/syck.c +++ b/ext/syck/syck.c @@ -15,6 +15,8 @@ #define SYCK_YAML_MINOR 0 #define SYCK_BUFFERSIZE 262144 +void syck_parser_pop_level( SyckParser * ); + /* * Custom assert */ @@ -34,6 +36,7 @@ syck_strndup( char *buf, long len ) char *new = S_ALLOC_N( char, len + 1 ); S_MEMZERO( new, char, len + 1 ); S_MEMCPY( new, buf, char, len ); + return new; } /* |