summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-27 15:36:49 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-27 15:36:49 +0000
commit392d04bb758cd08529ab92bc6bac169774c64676 (patch)
tree7f61ac8ff919059013c4f20cde503d04ab3bb634 /proto.h
parent7a6d04f4b4bf895ed78ad15e738aca75d88e3b8c (diff)
downloadperl-392d04bb758cd08529ab92bc6bac169774c64676.tar.gz
newPADOP is only used under ithreads, so don't waste space by compiling
it for non-threaded builds. p4raw-id: //depot/perl@30032
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 b96cb8ba9e..a76e001734 100644
--- a/proto.h
+++ b/proto.h
@@ -1549,10 +1549,12 @@ PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
__attribute__malloc__
__attribute__warn_unused_result__;
+#ifdef USE_ITHREADS
PERL_CALLCONV OP* Perl_newPADOP(pTHX_ I32 type, I32 flags, SV* sv)
__attribute__malloc__
__attribute__warn_unused_result__;
+#endif
PERL_CALLCONV OP* Perl_newPMOP(pTHX_ I32 type, I32 flags)
__attribute__malloc__
__attribute__warn_unused_result__;