]> git.notmuchmail.org Git - notmuch/blobdiff - lib/xutil.h
Fix double free in guess_from_received_header().
[notmuch] / lib / xutil.h
index b973f7dcbf752f4cca74d69ef86bcf027cde3aaa..fd77f733a5b33a35dfb32bcb3055c0c1147a5303 100644 (file)
@@ -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