summaryrefslogtreecommitdiff
path: root/regcomp_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp_internal.h')
-rw-r--r--regcomp_internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/regcomp_internal.h b/regcomp_internal.h
index f8682f823d..f1b81625a0 100644
--- a/regcomp_internal.h
+++ b/regcomp_internal.h
@@ -599,7 +599,8 @@ struct scan_data_substrs {
I32 flags; /* per substring SF_* and SCF_* flags */
};
-typedef struct scan_data_t {
+/* this is typedef'ed in perl.h */
+struct scan_data_t {
/*I32 len_min; unused */
/*I32 len_delta; unused */
SSize_t pos_min;
@@ -623,7 +624,7 @@ typedef struct scan_data_t {
pointer - the op may have been optimized
away */
regnode_ssc *start_class;
-} scan_data_t;
+};
/*
* Forward declarations for pregcomp()'s friends.