Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
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>
-rw-r--r--doc/Doxyfile.in1
-rw-r--r--lib/libalpm/alpm_list.c1
-rw-r--r--lib/libalpm/util.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 6744e765..3b9c7c22 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -287,7 +287,6 @@ SEARCH_INCLUDES = YES
INCLUDE_PATH = ../..
INCLUDE_FILE_PATTERNS = *.h
PREDEFINED = HAVE_CONFIG_H= \
- SYMHIDDEN= \
SYMEXPORT= \
HAVE_LIBARCHIVE \
HAVE_LIBCURL \
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))