diff options
author | David MacKenzie <djm@cygnus> | 1994-02-05 03:02:32 +0000 |
---|---|---|
committer | David MacKenzie <djm@cygnus> | 1994-02-05 03:02:32 +0000 |
commit | 6a5439a91f17ca12edbdced7bec34b7d7fed00e5 (patch) | |
tree | 1079ad42a50b77f736a65b2e3d07b667f9e42d1d /bfd/libbfd.h | |
parent | 0ee3427297272a636e7ef8378182a38d64ed7b7d (diff) | |
download | gdb-6a5439a91f17ca12edbdced7bec34b7d7fed00e5.zip gdb-6a5439a91f17ca12edbdced7bec34b7d7fed00e5.tar.gz gdb-6a5439a91f17ca12edbdced7bec34b7d7fed00e5.tar.bz2 |
Eliminate arg from bfd_xmalloc_by_size_t macro, allowing
undoing of obstack parts of last change.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r-- | bfd/libbfd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 8babcf3..ccc21b7 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -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. */ |