aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regex.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/regex.h b/src/regex.h
index 692b93b094f..9ebc4e0bf22 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -294,10 +294,8 @@ typedef enum
294 compiled, the `re_nsub' field is available. All other fields are 294 compiled, the `re_nsub' field is available. All other fields are
295 private to the regex routines. */ 295 private to the regex routines. */
296 296
297#ifndef RE_TRANSLATE_TYPE 297#ifndef RE_TRANSLATE_TYPE
298#define RE_TRANSLATE_TYPE char * 298#define RE_TRANSLATE_TYPE char *
299#define RE_TRANSLATE(TBL, C) ((TBL)[C])
300#define RE_TRANSLATE_P(TBL) (TBL)
301#endif 299#endif
302 300
303struct re_pattern_buffer 301struct re_pattern_buffer