diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 07:47:19 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 07:47:19 +0000 |
commit | 195e30e8aa1479bd10bb50de5bd34a69f0a09c9f (patch) | |
tree | 1744dba542fda6041e9d9e6831aa1beb9b57a2d6 /lib/libalpm/util.h | |
parent | 2efeab1529d4aa82cbb9f02f2f4661dad8c13fe3 (diff) | |
download | pacman-195e30e8aa1479bd10bb50de5bd34a69f0a09c9f.tar.xz |
K. Piche <kpiche@rogers.com>
* gcc visiblity changes
Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K.
Piche's suggestions
Diffstat (limited to 'lib/libalpm/util.h')
-rw-r--r-- | lib/libalpm/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
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: */ |