diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-19 14:40:36 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-20 07:09:12 -0400 |
commit | dd791c72c136e634557810ed390db9ed30f1576f (patch) | |
tree | 38e162b5ad82f8a3da9321a10236b2f619069675 /perlio.c | |
parent | 003a6439f27d71332efd22b513b3658b1bcd811c (diff) | |
download | perl-dd791c72c136e634557810ed390db9ed30f1576f.tar.gz |
Couple more (optionally) unused contexts.
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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)--; } |