summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-09-26 22:29:09 +0000
committerNicholas Clark <nick@ccl4.org>2006-09-26 22:29:09 +0000
commita3c0e9caa94eb215eb66e54d6286c77ccf441f01 (patch)
tree6b3f99fb79ffb54e76b7cda0e388f65417e5c1c2 /proto.h
parent03363afd3c2c023b9096c021741ecc63bc0de7dd (diff)
downloadperl-a3c0e9caa94eb215eb66e54d6286c77ccf441f01.tar.gz
Make Perl_regdupe only exist for threaded perls.
p4raw-id: //depot/perl@28893
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 386f4ab140..2f6045d725 100644
--- a/proto.h
+++ b/proto.h
@@ -1833,10 +1833,12 @@ PERL_CALLCONV I32 Perl_pregexec(pTHX_ regexp* prog, char* stringarg, char* stren
__attribute__nonnull__(pTHX_6);
PERL_CALLCONV void Perl_pregfree(pTHX_ struct regexp* r);
+#if defined(USE_ITHREADS)
PERL_CALLCONV regexp* Perl_regdupe(pTHX_ const regexp* r, CLONE_PARAMS* param)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);
+#endif
PERL_CALLCONV regexp* Perl_pregcomp(pTHX_ char* exp, char* xend, PMOP* pm)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)