* defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
authorAndrew Cagney <cagney@redhat.com>
Fri, 23 Mar 2001 23:39:57 +0000 (23:39 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 23 Mar 2001 23:39:57 +0000 (23:39 +0000)
commitc0e61796d0ad9af35747d8b3b1aaad03e13fd0e4
tree3b1309bddef80b706d1f5eabbbc7db5533ad61f8
parentc20ec07b9a527782998d094dd3099b7f6c48fd8e
* defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
xmrealloc): Move existing declarations to the one place and
re-order to be consistent.
(xmcalloc, xmfree): Declare.
(xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
declaration.

* utils.c (size_t): Delete #ifdef defining size_t.
(mmalloc, mrealloc, mcalloc, mfree): Re-order.
(mmalloc, mrealloc, mcalloc): Document as only calls in GDB
corresponding malloc, realloc, calloc.
(mfree): Call free directly.
(xmmalloc, xmrealloc): Clean up. Assume ISO-C.
(xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
function bodies to here.
(xcalloc, xfree): Call xmcalloc and xmfree respectfully.
gdb/ChangeLog
gdb/defs.h
gdb/utils.c
This page took 0.023877 seconds and 4 git commands to generate.