diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-04 14:20:24 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-04 14:20:24 +0000 |
commit | d505a94a765136e7a29c4bf3a9a9dffd4b9d5ba3 (patch) | |
tree | 9c324ffe98afdc016d344ce90223f0667969d3dd /util.c | |
parent | 7c7fa76e6330ff8024a8f6f15f35f9f2fa55fb6c (diff) |
* util.c (push_element): should return a int value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -316,7 +316,7 @@ struct PathInfo { int count; }; -static void +static int push_element(const char *path, VALUE vinfo) { struct PathList *p; @@ -328,6 +328,8 @@ push_element(const char *path, VALUE vinfo) p->next = info->head; info->head = p; info->count++; + + return 0; } #include <dirent.h> |