From 35fadee53d443e362cde1d429dd6d8c66a535132 Mon Sep 17 00:00:00 2001 From: eban Date: Sun, 4 Mar 2007 05:51:07 +0000 Subject: * util.c (push_element): should return a int value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index c949a98e6e..ab6d7b8814 100644 --- a/util.c +++ b/util.c @@ -305,7 +305,7 @@ struct PathInfo { int count; }; -static void +static int push_element(const char *path, VALUE vinfo) { struct PathList *p; @@ -317,6 +317,8 @@ push_element(const char *path, VALUE vinfo) p->next = info->head; info->head = p; info->count++; + + return 0; } #include -- cgit v1.2.3