diff options
author | Tomi Ollila <tomi.ollila@iki.fi> | 2011-10-31 14:01:28 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-10-31 09:05:07 -0300 |
commit | 556c5fa8900d14c61544f3ac016d3cca1db5a91a (patch) | |
tree | 382015c10b61029b02d4c72c7c1d099eb37bb7a3 /util | |
parent | 7a87830f5eb32373bc17235e9d178d383830dc64 (diff) |
remove GCC visibility pragmas
libnotmuch.so.* linking fail on some environments. According to
David Bremner on irc:
"We jump through hoops with the linker script (notmuch.sym) so
the pragmas are not needed. And they are a little bizarre in a
library anyway..."
Diffstat (limited to 'util')
-rw-r--r-- | util/xutil.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/util/xutil.h b/util/xutil.h index 92992564..b84e0e25 100644 --- a/util/xutil.h +++ b/util/xutil.h @@ -25,8 +25,6 @@ #include <sys/types.h> #include <regex.h> -#pragma GCC visibility push(hidden) - /* xutil.c */ void * xcalloc (size_t nmemb, size_t size); @@ -51,6 +49,4 @@ int xregexec (const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags); -#pragma GCC visibility pop - #endif |