X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/66610fdd5da795f6de595e815ccc4d1c9f3f4505..2d3e09341b1708b9d4e0982daf4d89d075ef0973:/globals.c?ds=sidebyside diff --git a/globals.c b/globals.c index 8f382bb..22e4767 100644 --- a/globals.c +++ b/globals.c @@ -23,35 +23,12 @@ * functions not used by perl itself, but the functions get * pulled into the perl executable via the refrerence here. * - * Two printf() like functions have also found their way here. - * Most likely by analogy to the API scheme above (as perl doesn't - * use them) but they probably belong elsewhere the obvious place - * being in perlio.c - * */ #include "INTERN.h" #define PERL_IN_GLOBALS_C #include "perl.h" -int -Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...) -{ - dTHXs; - va_list(arglist); - va_start(arglist, format); - return PerlIO_vprintf(stream, format, arglist); -} - -int -Perl_printf_nocontext(const char *format, ...) -{ - dTHX; - va_list(arglist); - va_start(arglist, format); - return PerlIO_vprintf(PerlIO_stdout(), format, arglist); -} - #include "perlapi.h" /* bring in PL_force_link_funcs */ /* @@ -61,5 +38,5 @@ Perl_printf_nocontext(const char *format, ...) * indent-tabs-mode: t * End: * - * vim: ts=8 sts=4 sw=4 noet: -*/ + * ex: set ts=8 sts=4 sw=4 noet: + */