From f7ea41af604acdb991a773e1319bbccc742967c4 Mon Sep 17 00:00:00 2001 From: eban Date: Tue, 19 Feb 2002 04:25:39 +0000 Subject: * regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ regex.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1c44a5c4e..7932c1014 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 19 13:21:51 2002 WATANABE Hirofumi + + * regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc(). + Tue Feb 19 13:16:08 2002 Nobuyoshi Nakada * io.c (rb_io_ungetc): don't fail pushed EOF back. diff --git a/regex.c b/regex.c index 9f84c5ae2..54dd72526 100644 --- a/regex.c +++ b/regex.c @@ -78,9 +78,9 @@ void rb_trap_exec _((void)); #define xrealloc ruby_xrealloc #define xfree ruby_xfree -void *xmalloc _((size_t)); -void *xcalloc _((size_t,size_t)); -void *xrealloc _((void*,size_t)); +void *xmalloc _((long)); +void *xcalloc _((long,long)); +void *xrealloc _((void*,long)); void xfree _((void*)); #endif -- cgit