mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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..."
This commit is contained in:
parent
7a87830f5e
commit
556c5fa890
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue