summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1996-12-22 14:07:47 +1200
committerChip Salzenberg <chip@atlantic.net>1997-03-22 15:34:25 +1200
commit662a7e3f419913fcaac63451e3424478903b6e79 (patch)
tree306d8619151f81d781bc072e87994f81a1acdb66 /perlio.c
parentf51d4af592c9b887ce9e5cd81ee4be01c8f37a36 (diff)
downloadperl-662a7e3f419913fcaac63451e3424478903b6e79.tar.gz
In perlio, fix vprintf() definition and define vfprintf()
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index 85b036ca9f..d9b3d81ac3 100644
--- a/perlio.c
+++ b/perlio.c
@@ -585,7 +585,15 @@ Fpos_t *pos;
#if (defined(PERLIO_IS_STDIO) || !defined(USE_SFIO)) && !defined(HAS_VPRINTF)
int
-vprintf(fd, pat, args)
+vprintf(pat, args)
+char *pat, *args;
+{
+ _doprnt(pat, args, stdout);
+ return 0; /* wrong, but perl doesn't use the return value */
+}
+
+int
+vfprintf(fd, pat, args)
FILE *fd;
char *pat, *args;
{