summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-03-23 11:00:42 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-03-23 11:00:42 +0000
commita999f61be32148694ba1c2837b1a303e42fd96b1 (patch)
treeb5846dc068063a409fe7e9f7b77cc89b3ee1cf35 /perlio.h
parent5e334b7bcf49bf053aa25da896a1ff98c12dd228 (diff)
downloadperl-a999f61be32148694ba1c2837b1a303e42fd96b1.tar.gz
Add pTHX_ to -Duseperlio API where it does not conflict with legacy stuff.
p4raw-id: //depot/perlio@9305
Diffstat (limited to 'perlio.h')
-rw-r--r--perlio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/perlio.h b/perlio.h
index 51b9a83719..49423aa983 100644
--- a/perlio.h
+++ b/perlio.h
@@ -80,10 +80,10 @@ typedef PerlIOl *PerlIO;
#define PerlIO PerlIO
#define PERLIO_LAYERS 1
-extern void PerlIO_define_layer (PerlIO_funcs *tab);
-extern SV * PerlIO_find_layer (const char *name, STRLEN len);
-extern PerlIO * PerlIO_push (PerlIO *f,PerlIO_funcs *tab,const char *mode,const char *arg,STRLEN len);
-extern void PerlIO_pop (PerlIO *f);
+extern void PerlIO_define_layer (pTHX_ PerlIO_funcs *tab);
+extern SV * PerlIO_find_layer (pTHX_ const char *name, STRLEN len);
+extern PerlIO * PerlIO_push (pTHX_ PerlIO *f,PerlIO_funcs *tab,const char *mode,const char *arg,STRLEN len);
+extern void PerlIO_pop (pTHX_ PerlIO *f);
#endif /* PerlIO */