From b9ab7790d5ab1f6e4eff21025a97dd01b3bee090 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 5 Jan 2021 00:48:13 +0000 Subject: 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 Signed-off-by: Allan McRae --- lib/libalpm/alpm_list.c | 1 - lib/libalpm/util.h | 1 - 2 files changed, 2 deletions(-) (limited to 'lib') 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 */ #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 */ #define SYMEXPORT __attribute__((visibility("default"))) -#define SYMHIDDEN __attribute__((visibility("internal"))) #define UNUSED __attribute__((unused)) -- cgit v1.2.3-70-g09d2