diff options
author | obrien <obrien@FreeBSD.org> | 2002-01-27 12:45:01 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-01-27 12:45:01 +0000 |
commit | cc46a9ac95611a0390813193f131fa578fbe0fff (patch) | |
tree | d9f801f9455d396ed8c439014c124cea0ff25eaf /contrib/gdb | |
parent | 1ec5095d71bc63040c196401124c09f0b035999b (diff) | |
download | FreeBSD-src-cc46a9ac95611a0390813193f131fa578fbe0fff.zip FreeBSD-src-cc46a9ac95611a0390813193f131fa578fbe0fff.tar.gz |
Use these malloc-like bits from libiberty now.
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 08b801b..ef8f405 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; { |