summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-30 18:31:25 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-30 18:31:25 +0000
commitd5b2b27b99d4ad8d4eeda4a420182b7cb89461aa (patch)
tree12f0f7cc0c23e789d35d2c716ad86e74c12be016 /embed.h
parent038e8d3c44243c2a2ae7cca24ca6b3918f23f942 (diff)
downloadperl-d5b2b27b99d4ad8d4eeda4a420182b7cb89461aa.tar.gz
Given that sv_nosharing performs the same function as sv_nolocking
and sv_unnolocking (ie sweet FA), we might as well use the 1 function to initialise all 3 variables, and elimiate the other two. For some reason all 3 are listed as being in the public API. Daft. p4raw-id: //depot/perl@25906
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/embed.h b/embed.h
index bc1b068a2f..aa85b16724 100644
--- a/embed.h
+++ b/embed.h
@@ -1009,8 +1009,6 @@
#endif
#endif
#define sv_nosharing Perl_sv_nosharing
-#define sv_nolocking Perl_sv_nolocking
-#define sv_nounlocking Perl_sv_nounlocking
#define nothreadhook Perl_nothreadhook
#if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT)
#ifdef PERL_CORE
@@ -2982,8 +2980,6 @@
#endif
#endif
#define sv_nosharing(a) Perl_sv_nosharing(aTHX_ a)
-#define sv_nolocking(a) Perl_sv_nolocking(aTHX_ a)
-#define sv_nounlocking(a) Perl_sv_nounlocking(aTHX_ a)
#define nothreadhook() Perl_nothreadhook(aTHX)
#if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT)
#ifdef PERL_CORE