Skip to content

Commit

Permalink
* regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc().
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Feb 19, 2002
1 parent 0cbfe8c commit 1a7929a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Tue Feb 19 13:21:51 2002 WATANABE Hirofumi <[email protected]>

* regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc().

Tue Feb 19 13:16:08 2002 Nobuyoshi Nakada <[email protected]>

* io.c (rb_io_ungetc): don't fail pushed EOF back.
Expand Down
6 changes: 3 additions & 3 deletions regex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1a7929a

Please sign in to comment.