diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-04 05:51:07 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-04 05:51:07 +0000 |
commit | 35fadee53d443e362cde1d429dd6d8c66a535132 (patch) | |
tree | a3549630b4b22d788c24cb981784ac0fb1772aba /util.c | |
parent | ebba0b43406c3adea42160ed4392e6ca86d9ea2a (diff) |
* 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
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 <dirent.h> |