Skip to content

Commit

Permalink
* bignum.c: changed foo _((boo))' to foo(boo)`. [ruby-dev:27056]
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ocean committed Sep 14, 2005
1 parent 6b1239a commit 08c1738
Show file tree
Hide file tree
Showing 36 changed files with 832 additions and 822 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Wed Sep 14 15:06:22 2005 Hirokazu Yamamoto <[email protected]>

* 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.

Tue Sep 13 22:09:40 2005 NAKAMURA, Hiroshi <[email protected]>

* lib/logger.rb (Logger): added formatter accessor to logger for
Expand Down
2 changes: 1 addition & 1 deletion bignum.c
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,7 @@ rb_big_xor(VALUE xx, VALUE yy)
return bignorm(z);
}

static VALUE rb_big_rshift _((VALUE,VALUE));
static VALUE rb_big_rshift(VALUE,VALUE);

/*
* call-seq:
Expand Down
8 changes: 4 additions & 4 deletions defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
#define xrealloc ruby_xrealloc
#define xfree ruby_xfree

void *xmalloc _((long));
void *xcalloc _((long,long));
void *xrealloc _((void*,long));
void xfree _((void*));
void *xmalloc(long);
void *xcalloc(long,long);
void *xrealloc(void*,long);
void xfree(void*);

#if SIZEOF_LONG_LONG > 0
# define LONG_LONG long long
Expand Down
8 changes: 4 additions & 4 deletions dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ char *getenv();
#endif

#ifndef HAVE_STRING_H
char *strchr _((char*,char));
char *strchr(char*,char);
#endif

#include <ctype.h>
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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;
};
Expand Down Expand Up @@ -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;
};

Expand Down
6 changes: 3 additions & 3 deletions dln.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
# define _(args) ()
#endif

char *dln_find_exe _((const char*,const char*));
char *dln_find_file _((const char*,const char*));
char *dln_find_exe(const char*,const char*);
char *dln_find_file(const char*,const char*);

#ifdef USE_DLN_A_OUT
extern char *dln_argv0;
#endif

void *dln_load _((const char*));
void *dln_load(const char*);
#endif
2 changes: 1 addition & 1 deletion enumerator.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ enumerator_init(VALUE enum_obj, VALUE obj, VALUE meth, int argc, VALUE *argv)
ptr->iter = enumerator_iter_i;
}
else {
ptr->iter = (VALUE (*) _((VALUE, struct enumerator *)))rb_yield;
ptr->iter = (VALUE (*)(VALUE, struct enumerator *))rb_yield;
}
if (argc) ptr->args = rb_ary_new4(argc, argv);

Expand Down
2 changes: 1 addition & 1 deletion env.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUBY_EXTERN struct FRAME {
unsigned long uniq;
} *ruby_frame;

void rb_gc_mark_frame _((struct FRAME *));
void rb_gc_mark_frame(struct FRAME *);

#define FRAME_DMETH 1
#define FRAME_FUNC 2
Expand Down
2 changes: 1 addition & 1 deletion error.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ err_snprintf(char *buf, long len, const char *fmt, va_list args)
}
}

static void err_append _((const char*));
static void err_append(const char*);
static void
err_print(const char *fmt, va_list args)
{
Expand Down
Loading

0 comments on commit 08c1738

Please sign in to comment.