From: Tomi Ollila Date: Mon, 31 Oct 2011 12:01:28 +0000 (+0200) Subject: remove GCC visibility pragmas X-Git-Tag: 0.10_rc1~59 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=556c5fa8900d14c61544f3ac016d3cca1db5a91a;ds=sidebyside 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..." --- 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 #include -#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