Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-01-30 07:47:19 +0000
committerAaron Griffin <aaron@archlinux.org>2007-01-30 07:47:19 +0000
commit195e30e8aa1479bd10bb50de5bd34a69f0a09c9f (patch)
tree1744dba542fda6041e9d9e6831aa1beb9b57a2d6 /lib/libalpm/util.h
parent2efeab1529d4aa82cbb9f02f2f4661dad8c13fe3 (diff)
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.h4
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: */