summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSaleem Abdulrasool <abdulras@google.com>2021-08-27 15:20:13 +0000
committerMark Wielaard <mark@klomp.org>2021-08-27 18:28:51 +0200
commit047d09e17edfb220cd6a96129bd19b496d503fc5 (patch)
tree2373db86fff20ea9ce51894cbcee684734181696 /lib
parent76c84c137a82a7cacbc69b1696052491b3bb81cb (diff)
downloadelfutils-047d09e17edfb220cd6a96129bd19b496d503fc5.tar.gz
lib: remove unused `STROF` definition (NFC)
This definition was in the fallback path, where `sys/cdefs.h` is not available. Now that we have a single path through here, this macro gets defined, though is unused. Remove the unused macro definition. Signed-off-by: Saleem Abdulrasool <abdulras@google.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/fixedsizehash.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 589953cf..cf676742 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2021-08-21 Saleem Abdulrasool <abdulras@google.com>
+
+ * fixedsizehash.h: Remove unused STROF macro.
+
2021-08-20 Saleem Abdulrasool <abdulras@google.com>
* system.h: Check for HAVE_ERROR_H and HAVE_ERR_H and define
diff --git a/lib/fixedsizehash.h b/lib/fixedsizehash.h
index f333ad99..14f0fb88 100644
--- a/lib/fixedsizehash.h
+++ b/lib/fixedsizehash.h
@@ -33,7 +33,6 @@
#include <system.h>
-#define STROF(t2) t2
#define CONCAT_EXPANDED(t1,t2) t1 ## t2
#define CONCAT(t1,t2) CONCAT_EXPANDED(t1,t2)