summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2015-07-17 17:53:54 -0500
committerCraig A. Berry <craigberry@mac.com>2015-07-23 17:54:06 -0500
commit786296d4896f80d498b17d1ae46dc0aa4fde5770 (patch)
tree606ff0159d0e36b4515204e7bbeac7db93ab7fe8 /perlio.c
parent1f033515f88cb38a77368f249c75bc1a93c672e5 (diff)
downloadperl-786296d4896f80d498b17d1ae46dc0aa4fde5770.tar.gz
Evict PERLIO_IS_STDIO from top-level core files.
Configuring with perlio has been the only option since dd35fa16610 in 2011, first released in 5.16.0. Yet we have still have had all this dead code for stdio support cluttering up the sources and dulling the machetes of anyone who wants to do further work on perlio or someone (like me) who just stumbles on some code that looks like it needs fixing but isn't worth the time since the compiler will never see it. Leave a vestigial perlsdio.h since its presence is hard-coded in a number of places.
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/perlio.c b/perlio.c
index b5d5959a32..ae8cbc9423 100644
--- a/perlio.c
+++ b/perlio.c
@@ -338,29 +338,6 @@ Perl_boot_core_PerlIO(pTHX)
#endif
-#ifdef PERLIO_IS_STDIO
-
-void
-PerlIO_init(pTHX)
-{
- PERL_UNUSED_CONTEXT;
- /*
- * Does nothing (yet) except force this file to be included in perl
- * binary. That allows this file to force inclusion of other functions
- * that may be required by loadable extensions e.g. for
- * FileHandle::tmpfile
- */
-}
-
-#undef PerlIO_tmpfile
-PerlIO *
-PerlIO_tmpfile(void)
-{
- return tmpfile();
-}
-
-#else /* PERLIO_IS_STDIO */
-
/*======================================================================================*/
/*
* Implement all the PerlIO interface ourselves.
@@ -5093,7 +5070,6 @@ Perl_PerlIO_restore_errno(pTHX_ PerlIO *f)
#undef HAS_FSETPOS
#undef HAS_FGETPOS
-#endif /* PERLIO_IS_STDIO */
/*======================================================================================*/
/*