summaryrefslogtreecommitdiff
path: root/ext/threads
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-10-28 08:02:09 +0000
committerArtur Bergman <sky@nanisky.com>2001-10-28 08:02:09 +0000
commitce127893d1ceee85bee65033fdcfa35fd3a344d4 (patch)
treeae0a5f7cf8e1078d1e0d5d8de93627986b63294d /ext/threads
parentc2452817bba58a2cb577b1ed636309441032e9cf (diff)
downloadperl-ce127893d1ceee85bee65033fdcfa35fd3a344d4.tar.gz
And here we use the prototypes.
p4raw-id: //depot/perl@12727
Diffstat (limited to 'ext/threads')
-rw-r--r--ext/threads/shared/shared.xs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/threads/shared/shared.xs b/ext/threads/shared/shared.xs
index eb4472d720..c00cf15489 100644
--- a/ext/threads/shared/shared.xs
+++ b/ext/threads/shared/shared.xs
@@ -141,7 +141,7 @@ MGVTBL svtable = {MEMBER_TO_FPTR(shared_sv_fetch_mg),
MODULE = threads::shared PACKAGE = threads::shared
-PROTOTYPES: DISABLE
+PROTOTYPES: ENABLE
SV*
@@ -194,6 +194,7 @@ _thrcnt_dec(ref)
void
unlock_enabled(ref)
SV* ref
+ PROTOTYPE: \[$@%]
CODE:
shared_sv* shared;
if(SvROK(ref))
@@ -219,6 +220,7 @@ lock_enabled(ref)
void
cond_wait_enabled(ref)
SV* ref
+ PROTOTYPE: \[$@%]
CODE:
shared_sv* shared;
int locks;
@@ -239,6 +241,7 @@ cond_wait_enabled(ref)
void cond_signal_enabled(ref)
SV* ref
+ PROTOTYPE: \[$@%]
CODE:
shared_sv* shared;
if(SvROK(ref))
@@ -251,6 +254,7 @@ void cond_signal_enabled(ref)
void cond_broadcast_enabled(ref)
SV* ref
+ PROTOTYPE: \[$@%]
CODE:
shared_sv* shared;
if(SvROK(ref))