diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-19 04:25:39 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-19 04:25:39 +0000 |
| commit | f7ea41af604acdb991a773e1319bbccc742967c4 (patch) | |
| tree | c8b8234937099ed276a81e5bb02ad0762910149c | |
| parent | 7a1b9234b1b14f314dab37c5d1a5796069663979 (diff) | |
| download | ruby-f7ea41af604acdb991a773e1319bbccc742967c4.tar.gz ruby-f7ea41af604acdb991a773e1319bbccc742967c4.tar.xz ruby-f7ea41af604acdb991a773e1319bbccc742967c4.zip | |
* 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
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | regex.c | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -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. @@ -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 |
