From 08c1738c512e2e3be60da17638e2857b547b2933 Mon Sep 17 00:00:00 2001 From: ocean Date: Wed, 14 Sep 2005 06:32:32 +0000 Subject: * 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 --- file.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index f95efeb571..4cd680b60c 100644 --- a/file.c +++ b/file.c @@ -29,7 +29,7 @@ #ifdef HAVE_SYS_FILE_H # include #else -int flock _((int, int)); +int flock(int, int); #endif #ifdef HAVE_SYS_PARAM_H @@ -41,7 +41,7 @@ int flock _((int, int)); #include -VALUE rb_time_new _((time_t, time_t)); +VALUE rb_time_new(time_t, time_t); #ifdef HAVE_UTIME_H #include @@ -54,7 +54,7 @@ VALUE rb_time_new _((time_t, time_t)); #endif #ifndef HAVE_STRING_H -char *strrchr _((const char*,const char)); +char *strrchr(const char*,const char); #endif #include @@ -1889,7 +1889,7 @@ rb_file_s_utime(int argc, VALUE *argv) #endif -NORETURN(static void sys_fail2 _((VALUE,VALUE))); +NORETURN(static void sys_fail2(VALUE,VALUE)); static void sys_fail2(VALUE s1, VALUE s2) { @@ -2262,7 +2262,7 @@ rb_path_end(const char *path) #define TOLOWER(c) (ISUPPER(c) ? tolower(c) : (c)) #endif -static int is_absolute_path _((const char*)); +static int is_absolute_path(const char*); static VALUE file_expand_path(VALUE fname, VALUE dname, VALUE result) @@ -2690,7 +2690,7 @@ rb_file_s_split(VALUE klass, VALUE path) static VALUE separator; -static VALUE rb_file_join _((VALUE ary, VALUE sep)); +static VALUE rb_file_join(VALUE ary, VALUE sep); static VALUE file_inspect_join(VALUE ary, VALUE *arg, int recur) -- cgit v1.2.3