summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-14 06:32:32 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-14 06:32:32 +0000
commit08c1738c512e2e3be60da17638e2857b547b2933 (patch)
treea976030df331224166c56f94e73ed7ac87fe8ec8 /dir.c
parent6b1239a8203a6150762eb8856c72771784b33bd0 (diff)
* bignum.c: changed `foo _((boo))' to `foo(boo)`. [ruby-dev:27056]
* defines.h, dir.c, dln.h, enumerator.c, env.h, error.c, eval.c, file.c, gc.c, hash.c, inits.c, intern.h, io.c, lex.c, marshal.c, missing.h, node.h, numeric.c, pack.c, process.c, re.h, ruby.c, ruby.h, rubyio.h, rubysig.h, signal.c, sprintf.c, st.h, string.c, struct.c, time.c, util.c, util.h, variable.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dir.c b/dir.c
index 6762fbf8e6..d9c77dceb7 100644
--- a/dir.c
+++ b/dir.c
@@ -56,7 +56,7 @@ char *getenv();
#endif
#ifndef HAVE_STRING_H
-char *strchr _((char*,char));
+char *strchr(char*,char);
#endif
#include <ctype.h>
@@ -351,7 +351,7 @@ free_dir(struct dir_data *dir)
free(dir);
}
-static VALUE dir_close _((VALUE));
+static VALUE dir_close(VALUE);
static VALUE
dir_s_alloc(VALUE klass)
@@ -1104,7 +1104,7 @@ enum answer { YES, NO, UNKNOWN };
#endif
struct glob_args {
- void (*func) _((const char *, VALUE));
+ void (*func)(const char *, VALUE);
const char *c;
VALUE v;
};
@@ -1329,7 +1329,7 @@ rb_glob2(const char *path, int flags, void (*func) (const char *, VALUE), VALUE
}
struct rb_glob_args {
- void (*func) _((const char*, VALUE));
+ void (*func)(const char*, VALUE);
VALUE arg;
};