checkpatch: fix stepping through statements with $stat and ctx_statement_block
[linux-2.6-microblaze.git] / scripts / headers_check.pl
index 8b2da05..3091e4e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 #
 # headers_check.pl execute a number of trivial consistency checks
 #
@@ -18,6 +18,7 @@
 #
 # 3) Check for leaked CONFIG_ symbols
 
+use warnings;
 use strict;
 use File::Basename;