summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
compiled, the `re_nsub' field is available. All other fields are
private to the regex routines. */
-#ifndef RE_TRANSLATE_TYPE
+#ifndef RE_TRANSLATE_TYPE
#define RE_TRANSLATE_TYPE char *
-#define RE_TRANSLATE(TBL, C) ((TBL)[C])
-#define RE_TRANSLATE_P(TBL) (TBL)
#endif
struct re_pattern_buffer