summaryrefslogtreecommitdiff
path: root/intrpvar.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 /intrpvar.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 'intrpvar.h')
-rw-r--r--intrpvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intrpvar.h b/intrpvar.h
index 966c7b7e2f..7f6d21fc35 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -508,8 +508,8 @@ PERLVAR(Ireentrant_retint, int) /* Integer return value from reentrant functions
/* Hooks to shared SVs and locks. */
PERLVARI(Isharehook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nosharing))
-PERLVARI(Ilockhook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nolocking))
-PERLVARI(Iunlockhook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nounlocking))
+PERLVARI(Ilockhook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nosharing))
+PERLVARI(Iunlockhook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nosharing))
PERLVARI(Ithreadhook, thrhook_proc_t, MEMBER_TO_FPTR(Perl_nothreadhook))
/* Force inclusion of both runops options */