diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-14 08:30:16 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-14 08:30:16 +0000 |
commit | ca32aea6a24d443434f1fa40b9091edc16ef03bf (patch) | |
tree | b8c1a5df91b119f95dbccc89ce69e4fc09e7b40a /dir.c | |
parent | 6c32e232d90c3347dbb52366a378265f19022e38 (diff) |
* dir.c: changed `foo (*bar)_((boo))' to `foo (*bar)(boo)`.
* enumerator.c, eval.c, gc.c, intern.h, io.c, process.c, ruby.c,
ruby.h, signal.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -896,7 +896,7 @@ do_stat(const char *path, struct stat *pst) { int ret = stat(path, pst); if (ret < 0 && errno != ENOENT) - rb_protect((VALUE (*)_((VALUE)))rb_sys_warning, (VALUE)path, 0); + rb_protect((VALUE (*)(VALUE))rb_sys_warning, (VALUE)path, 0); return ret; } @@ -906,7 +906,7 @@ do_lstat(const char *path, struct stat *pst) { int ret = lstat(path, pst); if (ret < 0 && errno != ENOENT) - rb_protect((VALUE (*)_((VALUE)))rb_sys_warning, (VALUE)path, 0); + rb_protect((VALUE (*)(VALUE))rb_sys_warning, (VALUE)path, 0); return ret; } @@ -916,7 +916,7 @@ do_opendir(const char *path) { DIR *dirp = opendir(path); if (dirp == NULL && errno != ENOENT && errno != ENOTDIR) - rb_protect((VALUE (*)_((VALUE)))rb_sys_warning, (VALUE)path, 0); + rb_protect((VALUE (*)(VALUE))rb_sys_warning, (VALUE)path, 0); return dirp; } |