Integrate mainline some more
[p5sagit/p5-mst-13.2.git] / globals.c
CommitLineData
ecfc5424 1#include "INTERN.h"
864dbfa3 2#define PERL_IN_GLOBALS_C
ecfc5424 3#include "perl.h"
76e3520e 4
c5be433b 5int
6Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
7{
1de7c2ac 8 dTHXs;
c5be433b 9 va_list(arglist);
10 va_start(arglist, format);
11 return PerlIO_vprintf(stream, format, arglist);
12}
682fc664 13
b0316773 14int
15Perl_printf_nocontext(const char *format, ...)
16{
1de7c2ac 17 dTHXs;
b0316773 18 va_list(arglist);
19 va_start(arglist, format);
20 return PerlIO_vprintf(PerlIO_stdout(), format, arglist);
21}
22
682fc664 23#include "perlapi.h" /* bring in PL_force_link_funcs */