* collect2.c (xrealloc): fix typo in last change.
From-SVN: r25079
This commit is contained in:
parent
acd663ee8d
commit
ea0d7e8b63
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Feb 8 11:34:44 1999 Graham <grahams@rcp.co.uk>
|
||||
|
||||
* collect2.c (xrealloc): fix typo in last change.
|
||||
|
||||
Mon Feb 8 09:13:38 PST 1999 Jeff Law (law@cygnus.com)
|
||||
|
||||
* version.c: Bump for snapshot.
|
||||
|
|
|
@ -553,7 +553,7 @@ xrealloc (old, size)
|
|||
size_t size;
|
||||
{
|
||||
register PTR ptr;
|
||||
if (ptr)
|
||||
if (old)
|
||||
ptr = (PTR) realloc (old, size);
|
||||
else
|
||||
ptr = (PTR) malloc (size);
|
||||
|
|
Loading…
Add table
Reference in a new issue