summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-02-27 13:40:44 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-02-27 13:40:44 +0000
commit0c9fdfe0a220af6cdc459e17e5ee8f6fa8946cf7 (patch)
tree95a56c9c9cf031aa967311f6ec6ec98822d022f7 /proto.h
parent95db5f151a6b0c6c891bf771dd9a88a603c6f610 (diff)
downloadperl-0c9fdfe0a220af6cdc459e17e5ee8f6fa8946cf7.tar.gz
ptr_table_find() is only defined with ithreads
p4raw-id: //depot/perl@27339
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 4199bd9dca..9e33e43d39 100644
--- a/proto.h
+++ b/proto.h
@@ -3735,11 +3735,13 @@ STATIC void S_glob_assign_ref(pTHX_ SV *dstr, SV *sstr)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);
+# if defined(USE_ITHREADS)
STATIC PTR_TBL_ENT_t * S_ptr_table_find(PTR_TBL_t *tbl, const void *sv)
__attribute__warn_unused_result__
__attribute__nonnull__(1)
__attribute__nonnull__(2);
+# endif
STATIC SV * S_find_hash_subscript(pTHX_ HV *hv, SV *val)
__attribute__nonnull__(pTHX_2);