summaryrefslogtreecommitdiff
path: root/file.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 /file.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 'file.c')
-rw-r--r--file.c12
1 files changed, 6 insertions, 6 deletions
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 <sys/file.h>
#else
-int flock _((int, int));
+int flock(int, int);
#endif
#ifdef HAVE_SYS_PARAM_H
@@ -41,7 +41,7 @@ int flock _((int, int));
#include <time.h>
-VALUE rb_time_new _((time_t, time_t));
+VALUE rb_time_new(time_t, time_t);
#ifdef HAVE_UTIME_H
#include <utime.h>
@@ -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 <sys/types.h>
@@ -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)