Remove unused SYMHIDDEN macros

The macro hasn't been used since 2007 with commit
7f7da2b5fc. 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>
This commit is contained in:
Emil Velikov 2021-01-05 00:48:13 +00:00 committed by Allan McRae
parent 67a42b9549
commit b9ab7790d5
3 changed files with 0 additions and 3 deletions

View file

@ -287,7 +287,6 @@ SEARCH_INCLUDES = YES
INCLUDE_PATH = ../.. INCLUDE_PATH = ../..
INCLUDE_FILE_PATTERNS = *.h INCLUDE_FILE_PATTERNS = *.h
PREDEFINED = HAVE_CONFIG_H= \ PREDEFINED = HAVE_CONFIG_H= \
SYMHIDDEN= \
SYMEXPORT= \ SYMEXPORT= \
HAVE_LIBARCHIVE \ HAVE_LIBARCHIVE \
HAVE_LIBCURL \ HAVE_LIBCURL \

View file

@ -30,7 +30,6 @@
/* check exported library symbols with: nm -C -D <lib> */ /* check exported library symbols with: nm -C -D <lib> */
#define SYMEXPORT __attribute__((visibility("default"))) #define SYMEXPORT __attribute__((visibility("default")))
#define SYMHIDDEN __attribute__((visibility("internal")))
/* Allocation */ /* Allocation */

View file

@ -161,7 +161,6 @@ char *strsep(char **, const char *);
/* check exported library symbols with: nm -C -D <lib> */ /* check exported library symbols with: nm -C -D <lib> */
#define SYMEXPORT __attribute__((visibility("default"))) #define SYMEXPORT __attribute__((visibility("default")))
#define SYMHIDDEN __attribute__((visibility("internal")))
#define UNUSED __attribute__((unused)) #define UNUSED __attribute__((unused))