Eliminate arg from bfd_xmalloc_by_size_t macro, allowing
undoing of obstack parts of last change.
This commit is contained in:
parent
0ee3427297
commit
6a5439a91f
4 changed files with 5 additions and 7 deletions
|
@ -82,8 +82,8 @@ char *bfd_zmalloc PARAMS ((bfd_size_type size));
|
|||
extern PTR xmalloc PARAMS ((size_t));
|
||||
/* SIZE is bfd_size_type. */
|
||||
#define bfd_xmalloc(size) xmalloc ((size_t) size)
|
||||
/* SIZE is size_t. */
|
||||
#define bfd_xmalloc_by_size_t(size) xmalloc (size)
|
||||
/* Defined without an argument so its address can be used. */
|
||||
#define bfd_xmalloc_by_size_t xmalloc
|
||||
|
||||
/* These routines allocate and free things on the BFD's obstack. Note
|
||||
that realloc can never occur in place. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue