diff --git a/ChangeLog b/ChangeLog index 1c44a5c4ec..7932c1014b 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 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