summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-12 17:56:12 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:52:03 +0100
commitedee246148d0f7e22ea026e09413d4bcc0cb51dd (patch)
treee70880d8b08c2d7b0494599aa0b845a6f5ad1b37 /perlio.c
parent3313a8602661409b390874b9b1bcd7de4c8455de (diff)
downloadperl-edee246148d0f7e22ea026e09413d4bcc0cb51dd.tar.gz
Rely on C89 vprintf()
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/perlio.c b/perlio.c
index 122cfccd23..521c274766 100644
--- a/perlio.c
+++ b/perlio.c
@@ -5221,26 +5221,6 @@ PerlIO_getpos(PerlIO *f, SV *pos)
}
#endif
-#if !defined(HAS_VPRINTF)
-
-int
-vprintf(char *pat, char *args)
-{
- _doprnt(pat, args, stdout);
- return 0; /* wrong, but perl doesn't use the return
- * value */
-}
-
-int
-vfprintf(FILE *fd, char *pat, char *args)
-{
- _doprnt(pat, args, fd);
- return 0; /* wrong, but perl doesn't use the return
- * value */
-}
-
-#endif
-
/* print a failure format string message to stderr and fail exit the process
using only libc without depending on any perl data structures being
initialized.