summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-23 18:00:38 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-23 18:00:38 +0000
commit0abe3f7c711f6721217c5d47ec581395dd1981da (patch)
tree6f42d72da1e1c364216a370f263ccb6058d92dcc /proto.h
parent433f2541b8f5648227bfd63195be86e0e194a278 (diff)
downloadperl-0abe3f7c711f6721217c5d47ec581395dd1981da.tar.gz
The current implementation of :unique is fundamentally flawed,
because declaring a scalar READONLY does not stop it being modified. Hence the current implementation of :unique is *not threadsafe* D'oh! Better implementations welcome. p4raw-id: //depot/perl@24962
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/proto.h b/proto.h
index cc7f00bf48..a5acbc79f8 100644
--- a/proto.h
+++ b/proto.h
@@ -2603,9 +2603,6 @@ STATIC I32 S_expect_number(pTHX_ char** pattern)
__attribute__nonnull__(pTHX_1);
#
-# if defined(USE_ITHREADS)
-STATIC SV* S_gv_share(pTHX_ SV *sv, CLONE_PARAMS *param);
-# endif
STATIC bool S_utf8_mg_pos(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 *offsetp, I32 uoff, const U8 **sp, const U8 *start, const U8 *send)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)