This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Some docs for the assertions.
[perl5.git] / globals.c
index 3c9c940..5c487b9 100644 (file)
--- a/globals.c
+++ b/globals.c
@@ -1,3 +1,17 @@
+/*    globals.c
+ *
+ *    Copyright (C) 1995, 1999, 2000, 2001, by Larry Wall and others
+ *
+ *    You may distribute under the terms of either the GNU General Public
+ *    License or the Artistic License, as specified in the README file.
+ *
+ */
+
+/*
+ * "For the rest, they shall represent the other Free Peoples of the World:
+ * Elves, Dwarves, and Men." --Elrond
+ */
+
 #include "INTERN.h"
 #define PERL_IN_GLOBALS_C
 #include "perl.h"
@@ -14,7 +28,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);