diff options
| author | Jim Meyering <jim@meyering.net> | 1995-10-19 14:21:35 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 1995-10-19 14:21:35 +0000 |
| commit | 43dd57eba933bef02bcb845bbf8e5696c52a6ba5 (patch) | |
| tree | 70e8c541e5ea28905a05897fd592eb99a59362bc /lib/regex.h | |
| parent | Break lines longer than 79-80 chars. (diff) | |
| download | coreutils-43dd57eba933bef02bcb845bbf8e5696c52a6ba5.tar.gz coreutils-43dd57eba933bef02bcb845bbf8e5696c52a6ba5.zip | |
New version from FSF.
Diffstat (limited to 'lib/regex.h')
| -rw-r--r-- | lib/regex.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/regex.h b/lib/regex.h index 31eaf849f..5184e6bb7 100644 --- a/lib/regex.h +++ b/lib/regex.h @@ -279,6 +279,10 @@ typedef enum compiled, the `re_nsub' field is available. All other fields are private to the regex routines. */ +#ifndef RE_TRANSLATE_TYPE +#define RE_TRANSLATE_TYPE char * +#endif + struct re_pattern_buffer { /* [[[begin pattern_buffer]]] */ @@ -305,7 +309,7 @@ struct re_pattern_buffer comparing them, or zero for no translation. The translation is applied to a pattern when it is compiled and to a string when it is matched. */ - char *translate; + RE_TRANSLATE_TYPE translate; /* Number of subexpressions found by the compiler. */ size_t re_nsub; |
