8 |
* |
* |
9 |
* Licensed under GPLv2 or later, see file License in this tarball for details. |
* Licensed under GPLv2 or later, see file License in this tarball for details. |
10 |
*/ |
*/ |
11 |
#ifndef __BB_REGEX__ |
#ifndef BB_REGEX_H |
12 |
#define __BB_REGEX__ |
#define BB_REGEX_H 1 |
13 |
|
|
14 |
#include <regex.h> |
#include <regex.h> |
15 |
|
|
16 |
#if __GNUC_PREREQ(4,1) |
PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
|
# pragma GCC visibility push(hidden) |
|
|
#endif |
|
17 |
|
|
18 |
char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags) FAST_FUNC; |
char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags) FAST_FUNC; |
19 |
void xregcomp(regex_t *preg, const char *regex, int cflags) FAST_FUNC; |
void xregcomp(regex_t *preg, const char *regex, int cflags) FAST_FUNC; |
20 |
|
|
21 |
#if __GNUC_PREREQ(4,1) |
POP_SAVED_FUNCTION_VISIBILITY |
|
# pragma GCC visibility pop |
|
|
#endif |
|
22 |
|
|
23 |
#endif |
#endif |