diff options
Diffstat (limited to 'include/xregex.h')
-rw-r--r-- | include/xregex.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/xregex.h b/include/xregex.h index 23cf19c02..d4bf73279 100644 --- a/include/xregex.h +++ b/include/xregex.h | |||
@@ -12,7 +12,16 @@ | |||
12 | #define __BB_REGEX__ | 12 | #define __BB_REGEX__ |
13 | 13 | ||
14 | #include <regex.h> | 14 | #include <regex.h> |
15 | |||
16 | #if __GNUC_PREREQ(4,1) | ||
17 | # pragma GCC visibility push(hidden) | ||
18 | #endif | ||
19 | |||
15 | char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags); | 20 | char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags); |
16 | void xregcomp(regex_t *preg, const char *regex, int cflags); | 21 | void xregcomp(regex_t *preg, const char *regex, int cflags); |
17 | 22 | ||
23 | #if __GNUC_PREREQ(4,1) | ||
24 | # pragma GCC visibility pop | ||
25 | #endif | ||
26 | |||
18 | #endif | 27 | #endif |