summaryrefslogtreecommitdiff
path: root/lib/xutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xutil.h')
-rw-r--r--lib/xutil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/xutil.h b/lib/xutil.h
index b973f7d..fd77f73 100644
--- a/lib/xutil.h
+++ b/lib/xutil.h
@@ -25,6 +25,8 @@
#include <sys/types.h>
#include <regex.h>
+#pragma GCC visibility push(hidden)
+
/* xutil.c */
void *
xcalloc (size_t nmemb, size_t size);
@@ -48,4 +50,6 @@ int
xregexec (const regex_t *preg, const char *string,
size_t nmatch, regmatch_t pmatch[], int eflags);
+#pragma GCC visibility pop
+
#endif