summaryrefslogtreecommitdiff
path: root/globals.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2001-06-11 16:34:31 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-12 13:27:28 +0000
commit1de7c2aca01d9e33d916dcec3cd53be0b1f8e101 (patch)
tree2efc0e17e307ec5906198016eadd03f2180fe518 /globals.c
parentc6c619a96fa11b09bef26d0c724b6cfd0bdbb34b (diff)
downloadperl-1de7c2aca01d9e33d916dcec3cd53be0b1f8e101.tar.gz
As suggested in
Subject: Re: ext/ + -Wall Message-Id: <200106120634.f5C6YVM07246@smtp3.ActiveState.com> p4raw-id: //depot/perl@10535
Diffstat (limited to 'globals.c')
-rw-r--r--globals.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/globals.c b/globals.c
index b442068b06..6368f28ecd 100644
--- a/globals.c
+++ b/globals.c
@@ -73,6 +73,7 @@ CPerlObj::do_aspawn(void *vreally, void **vmark, void **vsp)
int
Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
{
+ dTHXs;
va_list(arglist);
va_start(arglist, format);
return PerlIO_vprintf(stream, format, arglist);
@@ -81,6 +82,7 @@ Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
int
Perl_printf_nocontext(const char *format, ...)
{
+ dTHXs;
va_list(arglist);
va_start(arglist, format);
return PerlIO_vprintf(PerlIO_stdout(), format, arglist);