index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/util.h | 4 |
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index 098c15a4..4de9f5d8 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -76,6 +76,10 @@ char* strsep(char** str, const char* delims); char* mkdtemp(char *template); #endif +/* check exported library symbols with: nm -C -D <lib> */ +#define SYMEXPORT __attribute__((visibility("default"))) +#define SYMHIDDEN __attribute__((visibility("hidden"))) + #endif /* _ALPM_UTIL_H */ /* vim: set ts=2 sw=2 noet: */ |