summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-19 04:25:39 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-19 04:25:39 +0000
commit1a7929a9696b98f355415edc1d62cd2f9425fcac (patch)
treec8b8234937099ed276a81e5bb02ad0762910149c
parent0cbfe8c52474ebf6911a6c1e3f0b8c82885cc07f (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--regex.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c44a5c4ec3..7932c1014bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Feb 19 13:21:51 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc().
+
Tue Feb 19 13:16:08 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* io.c (rb_io_ungetc): don't fail pushed EOF back.
diff --git a/regex.c b/regex.c
index 9f84c5ae236..54dd7252626 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