aboutsummaryrefslogtreecommitdiffstats
path: root/ext/syck/handler.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-22 08:04:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-22 08:04:13 +0000
commit977267c2e0218d6b182807ddf9b7c1d929c40bed (patch)
tree815b002eaefef951ce56a1d58bca375c62bd7350 /ext/syck/handler.c
parent36f8540a2b024ee30092ea6a0eebfa40ccc95b07 (diff)
downloadruby-977267c2e0218d6b182807ddf9b7c1d929c40bed.tar.gz
* ext/**/*.[ch]: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/handler.c')
-rw-r--r--ext/syck/handler.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/syck/handler.c b/ext/syck/handler.c
index d76a72e5cc..40f5ef27d0 100644
--- a/ext/syck/handler.c
+++ b/ext/syck/handler.c
@@ -9,12 +9,12 @@
#include "ruby/ruby.h"
#include "syck.h"
-SYMID
+SYMID
syck_hdlr_add_node( SyckParser *p, SyckNode *n )
{
SYMID id;
- if ( ! n->id )
+ if ( ! n->id )
{
n->id = (p->handler)( p, n );
}
@@ -89,7 +89,7 @@ syck_hdlr_get_anchor( SyckParser *p, char *a )
if ( st_lookup( p->anchors, (st_data_t)a, (void *)&n ) )
{
if ( n != (void *)1 )
- {
+ {
S_FREE( a );
return n;
}
@@ -116,7 +116,7 @@ syck_hdlr_get_anchor( SyckParser *p, char *a )
if ( n->anchor )
{
S_FREE( a );
- }
+ }
else
{
n->anchor = a;
@@ -165,7 +165,7 @@ syck_taguri( const char *domain, const char *type_id, int type_len )
return uri;
}
-int
+int
syck_try_implicit( SyckNode *n )
{
return 1;