From 1a7929a9696b98f355415edc1d62cd2f9425fcac 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'regex.c') diff --git a/regex.c b/regex.c index 9f84c5ae23..54dd725262 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 v1.2.3