diff options
author | Alan Modra <amodra@gmail.com> | 2023-05-03 15:53:29 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-05-03 15:53:29 +0930 |
commit | a07223191bdda5e85a500e3b8206ee8fe8bcdfed (patch) | |
tree | 0184018534c7fc1c58bcb3ddb223916123f55c56 /bfd/syms.c | |
parent | 717d4bd6d199fcf834f741489aaf3bd800f9769f (diff) | |
download | gdb-a07223191bdda5e85a500e3b8206ee8fe8bcdfed.zip gdb-a07223191bdda5e85a500e3b8206ee8fe8bcdfed.tar.gz gdb-a07223191bdda5e85a500e3b8206ee8fe8bcdfed.tar.bz2 |
Remove unused args from bfd_make_debug_symbol
The ptr and size args are unused. Make the function look the same as
bfd_make_empty_symbol.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r-- | bfd/syms.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -569,11 +569,10 @@ FUNCTION DESCRIPTION Create a new <<asymbol>> structure for the BFD @var{abfd}, - to be used as a debugging symbol. Further details of its use have - yet to be worked out. + to be used as a debugging symbol. -.#define bfd_make_debug_symbol(abfd,ptr,size) \ -. BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size)) +.#define bfd_make_debug_symbol(abfd) \ +. BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd)) . */ @@ -1577,9 +1576,7 @@ _bfd_nosymbols_find_inliner_info } asymbol * -_bfd_nosymbols_bfd_make_debug_symbol (bfd *abfd, - void *ptr ATTRIBUTE_UNUSED, - unsigned long sz ATTRIBUTE_UNUSED) +_bfd_nosymbols_bfd_make_debug_symbol (bfd *abfd) { return (asymbol *) _bfd_ptr_bfd_null_error (abfd); } |