diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-01-27 12:45:01 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-01-27 12:45:01 +0000 |
commit | 1c2920364827336ec77d920fba6c3799b16346ff (patch) | |
tree | d9f801f9455d396ed8c439014c124cea0ff25eaf /contrib/gdb | |
parent | e6c1391fb29345c06f31150c935522a352c50f30 (diff) | |
download | src-1c2920364827336ec77d920fba6c3799b16346ff.tar.gz src-1c2920364827336ec77d920fba6c3799b16346ff.zip |
Use these malloc-like bits from libiberty now.
Notes
Notes:
svn path=/head/; revision=89873
Diffstat (limited to 'contrib/gdb')
-rw-r--r-- | contrib/gdb/gdb/utils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/gdb/gdb/utils.c b/contrib/gdb/gdb/utils.c index 08b801b97598..ef8f405634e1 100644 --- a/contrib/gdb/gdb/utils.c +++ b/contrib/gdb/gdb/utils.c @@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $FreeBSD$ */ + #include "defs.h" #include <ctype.h> #include "gdb_string.h" @@ -895,7 +897,7 @@ xmrealloc (md, ptr, size) the caller wanting to allocate zero bytes. */ PTR -xmalloc (size) +USE_FROM_LIBIBERTY_NOW_xmalloc (size) size_t size; { return (xmmalloc ((PTR) NULL, size)); @@ -904,7 +906,7 @@ xmalloc (size) /* Like mrealloc but get error if no storage available. */ PTR -xrealloc (ptr, size) +USE_FROM_LIBIBERTY_NOW_xrealloc (ptr, size) PTR ptr; size_t size; { |