summaryrefslogtreecommitdiff
path: root/globals.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-12-22 18:04:34 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-12-22 18:04:34 +0000
commite87a358ade5a3dd9a8b192569e18211d76c93743 (patch)
tree8f51b38525591efab94b932f12e9c20b21a99be6 /globals.c
parenta0d1d361c93b39102154ecff3ddb8a1be74034b8 (diff)
downloadperl-e87a358ade5a3dd9a8b192569e18211d76c93743.tar.gz
Add at least the "important" PerlIO_xxxx functions to embed.pl
so that they get implicit pTHX_ and we can avoid slow dTHX. p4raw-id: //depot/perlio@13852
Diffstat (limited to 'globals.c')
-rw-r--r--globals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.c b/globals.c
index 3c9c9407a7..d18c868d64 100644
--- a/globals.c
+++ b/globals.c
@@ -14,7 +14,7 @@ Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
int
Perl_printf_nocontext(const char *format, ...)
{
- dTHXs;
+ dTHX;
va_list(arglist);
va_start(arglist, format);
return PerlIO_vprintf(PerlIO_stdout(), format, arglist);