aboutsummaryrefslogtreecommitdiff
path: root/scripts/clean-header-guards.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/clean-header-guards.pl')
-rwxr-xr-xscripts/clean-header-guards.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/clean-header-guards.pl b/scripts/clean-header-guards.pl
index 54ab99ae29..5e67f1998c 100755
--- a/scripts/clean-header-guards.pl
+++ b/scripts/clean-header-guards.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
#
# Clean up include guards in headers
#
@@ -28,6 +28,7 @@
# "cc -E -DGUARD_H -c -P -", and fed the test program on stdin.
use strict;
+use warnings;
use Getopt::Std;
# Stuff we don't want to clean because we import it into our tree: