public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [committed] Remove USED and UNUSED annotations
@ 2021-03-15  9:38 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2021-03-15  9:38 UTC (permalink / raw)
  To: dwz, jakub, mark

Hi,

Remove the USED and UNUSED annotations, where they are no longer required.

Committed to trunk.

Thanks,
- Tom

Remove USED and UNUSED annotations

2021-03-15  Tom de Vries  <tdevries@suse.de>

	* dwz.c (estimate_nr_dies, emulate_htab, die_odr_state): Remove
	UNUSED.
	(dump_die): Remove USED.

---
 dwz.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dwz.c b/dwz.c
index 956062a..cd06dc6 100644
--- a/dwz.c
+++ b/dwz.c
@@ -2045,7 +2045,7 @@ read_debug_line (DSO *dso, dw_cu_ref cu, uint32_t off)
 
 /* Estimate the amount of DIEs in the .debug_info section, based on the size
    of that section.  */
-static unsigned int UNUSED
+static unsigned int
 estimate_nr_dies (void)
 {
   unsigned int average_die_size = 11;
@@ -2053,7 +2053,7 @@ estimate_nr_dies (void)
   return nr_dies;
 }
 
-static size_t UNUSED
+static size_t
 emulate_htab (size_t initial, size_t final_nr_elements)
 {
   size_t size = initial;
@@ -3363,7 +3363,7 @@ set_die_odr_state (dw_cu_ref cu, dw_die_ref die)
 }
 
 /* Return the initialized die_odr_state field for DIE with CU.  */
-static unsigned int UNUSED
+static unsigned int
 die_odr_state (dw_die_ref die)
 {
   assert (die->die_odr_state != ODR_UNKNOWN);
@@ -5597,7 +5597,7 @@ dump_die_with_indent (int indent, dw_die_ref die)
 }
 
 /* Dump DIE to stderr.  */
-static void USED
+static void
 dump_die (dw_die_ref die)
 {
   dump_die_with_indent (0, die);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-15  9:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15  9:38 [committed] Remove USED and UNUSED annotations Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).