From 2d278922cfcd7c635e222fd554b7c5e73d0213eb Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 25 Dec 2007 04:17:06 +0000 Subject: * README.EXT.ja, dir.c, eval.c, eval_intern.h, lex.c.src, lex.c.blt, keywords, load.c, thread.c: more ANSI'ize. a patch from Tadashi Saito in [ruby-dev:32725] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 9e90dca2d..8163a639d 100644 --- a/dir.c +++ b/dir.c @@ -922,7 +922,7 @@ sys_warning_1(const char* mesg) #define GLOB_VERBOSE (1UL << (sizeof(int) * CHAR_BIT - 1)) #define sys_warning(val) \ - (void)((flags & GLOB_VERBOSE) && rb_protect((VALUE (*)_((VALUE)))sys_warning_1, (VALUE)(val), 0)) + (void)((flags & GLOB_VERBOSE) && rb_protect((VALUE (*)(VALUE))sys_warning_1, (VALUE)(val), 0)) #define GLOB_ALLOC(type) (type *)malloc(sizeof(type)) #define GLOB_ALLOC_N(type, n) (type *)malloc(sizeof(type) * (n)) -- cgit