Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2021-01-05 00:48:13 +0000
committerAllan McRae <allan@archlinux.org>2021-01-09 00:14:50 +1000
commitb9ab7790d5ab1f6e4eff21025a97dd01b3bee090 (patch)
treec8200fb4c7390658c5cd1098c702865bfd57cf77 /lib
parent67a42b9549b3d0bc5a6c1f774e965553b304c1cf (diff)
Remove unused SYMHIDDEN macros
The macro hasn't been used since 2007 with commit 7f7da2b5fc01f46d28236384540c7ecfdac16a63. Although it was still copied over into alpm_list.c an year or so later with commit ca1a1871 ("More cleanup to alpm_list") Just remove all instances of it. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm_list.c1
-rw-r--r--lib/libalpm/util.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c
index 2ecc8e0b..e92573a1 100644
--- a/lib/libalpm/alpm_list.c
+++ b/lib/libalpm/alpm_list.c
@@ -30,7 +30,6 @@
/* check exported library symbols with: nm -C -D <lib> */
#define SYMEXPORT __attribute__((visibility("default")))
-#define SYMHIDDEN __attribute__((visibility("internal")))
/* Allocation */
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h
index 2f120adc..b7b0f329 100644
--- a/lib/libalpm/util.h
+++ b/lib/libalpm/util.h
@@ -161,7 +161,6 @@ char *strsep(char **, const char *);
/* check exported library symbols with: nm -C -D <lib> */
#define SYMEXPORT __attribute__((visibility("default")))
-#define SYMHIDDEN __attribute__((visibility("internal")))
#define UNUSED __attribute__((unused))