summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-19 14:40:36 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-20 07:09:12 -0400
commitdd791c72c136e634557810ed390db9ed30f1576f (patch)
tree38e162b5ad82f8a3da9321a10236b2f619069675 /perlio.c
parent003a6439f27d71332efd22b513b3658b1bcd811c (diff)
downloadperl-dd791c72c136e634557810ed390db9ed30f1576f.tar.gz
Couple more (optionally) unused contexts.
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index 730a73cf9b..7de32f4854 100644
--- a/perlio.c
+++ b/perlio.c
@@ -428,6 +428,9 @@ PerlIO_verify_head(pTHX_ PerlIO *f)
{
PerlIOl *head, *p;
int seen = 0;
+#ifndef PERL_IMPLICIT_SYS
+ PERL_UNUSED_CONTEXT;
+#endif
if (!PerlIOValid(f))
return;
p = head = PerlIOBase(f)->head;
@@ -2250,6 +2253,10 @@ S_more_refcounted_fds(pTHX_ const int new_fd) {
const int new_max = 16 + (new_fd & ~15);
int *new_array;
+#ifndef PERL_IMPLICIT_SYS
+ PERL_UNUSED_CONTEXT;
+#endif
+
PerlIO_debug("More fds - old=%d, need %d, new=%d\n",
old_max, new_fd, new_max);
@@ -2464,6 +2471,9 @@ typedef struct {
static void
S_lockcnt_dec(pTHX_ const void* f)
{
+#ifndef PERL_IMPLICIT_SYS
+ PERL_UNUSED_CONTEXT;
+#endif
PerlIO_lockcnt((PerlIO*)f)--;
}