From patchwork Mon Oct 31 12:01:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: remove GCC visibility pragmas Date: Mon, 31 Oct 2011 11:01:28 -0000 From: Tomi Ollila X-Patchwork-Id: 1439 Message-Id: To: notmuch@notmuchmail.org 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..." --- util/xutil.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/util/xutil.h b/util/xutil.h index 9299256..b84e0e2 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