This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Symbol S_no_symref_sv should be static (local to the compilation unit).
authorJan Dubois <jand@activestate.com>
Tue, 23 Feb 2010 08:54:46 +0000 (00:54 -0800)
committerJan Dubois <jand@activestate.com>
Tue, 23 Feb 2010 08:54:46 +0000 (00:54 -0800)
pp.c

diff --git a/pp.c b/pp.c
index 3e2ed48..5876cfd 100644 (file)
--- a/pp.c
+++ b/pp.c
@@ -132,7 +132,7 @@ PP(pp_padhv)
 
 /* Translations. */
 
-const char S_no_symref_sv[] =
+static const char S_no_symref_sv[] =
     "Can't use string (\"%" SVf32 "\"%s) as %s ref while \"strict refs\" in use";
 
 PP(pp_rv2gv)