Use -w instead of "use warnings" to enable warnings so that older
versions of perl can handle the script.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2903 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/gen_toolint.pl b/coregrind/gen_toolint.pl
index edd716d..95f93c1 100644
--- a/coregrind/gen_toolint.pl
+++ b/coregrind/gen_toolint.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/perl -w
# This file is part of Valgrind, an extensible x86 protected-mode
# emulator for monitoring program execution on x86-Unixes.
@@ -24,7 +24,6 @@
# The GNU General Public License is contained in the file COPYING.
use strict;
-use warnings;
my $output = shift @ARGV;
my $indent = "";