summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-07-23 09:24:06 -0600
committerKarl Williamson <khw@cpan.org>2020-11-18 05:15:43 -0700
commit1d210779fca4e1f38a05cc35fab98b7584f54f27 (patch)
tree0b7c212336e40df72d84226b7368aa5eac31b76e /perlio.h
parent3af695f3325716a03a79f2b1a27b032ed4698bfa (diff)
downloadperl-1d210779fca4e1f38a05cc35fab98b7584f54f27.tar.gz
Remove PERLIO_FUNCS_CONST
As the comment said, this was temporary until vtables got to be all const
Diffstat (limited to 'perlio.h')
-rw-r--r--perlio.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/perlio.h b/perlio.h
index ee16ab8774..836ff6f72f 100644
--- a/perlio.h
+++ b/perlio.h
@@ -63,15 +63,8 @@ typedef PerlIOl *PerlIO;
#define PerlIO PerlIO
#define PERLIO_LAYERS 1
-/* PERLIO_FUNCS_CONST is now on by default for efficiency, PERLIO_FUNCS_CONST
- can be removed 1 day once stable & then PerlIO vtables are permanently RO */
-#ifdef PERLIO_FUNCS_CONST
#define PERLIO_FUNCS_DECL(funcs) const PerlIO_funcs funcs
#define PERLIO_FUNCS_CAST(funcs) (PerlIO_funcs*)(funcs)
-#else
-#define PERLIO_FUNCS_DECL(funcs) PerlIO_funcs funcs
-#define PERLIO_FUNCS_CAST(funcs) (funcs)
-#endif
PERL_CALLCONV void PerlIO_define_layer(pTHX_ PerlIO_funcs *tab);
PERL_CALLCONV PerlIO_funcs *PerlIO_find_layer(pTHX_ const char *name,