From: Simon Ruderich Date: Sat, 17 Mar 2012 15:09:58 +0000 (+0100) Subject: Move constants/variables before functions. X-Git-Tag: 0.01~103 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c210cea572fd379f569260fcfee0fb85d56800ec;p=blhc%2Fblhc.git Move constants/variables before functions. No other code changes. --- diff --git a/bin/blhc b/bin/blhc index 880d24d..993b3e7 100755 --- a/bin/blhc +++ b/bin/blhc @@ -27,6 +27,50 @@ use Term::ANSIColor (); our $VERSION = '0.01'; +# CONSTANTS/VARIABLES + +# Regex to catch compiler commands. +my $cc_regex = qr/(?:x86_64-linux-gnu-)?(?:(? '-Wl,-z,relro', + '-Wl,(-z,)?now' => '-Wl,-z,now', +); + + # FUNCTIONS sub error_flags { @@ -152,50 +196,6 @@ sub is_non_verbose_build { } -# CONSTANTS/VARIABLES - -# Regex to catch compiler commands. -my $cc_regex = qr/(?:x86_64-linux-gnu-)?(?:(? '-Wl,-z,relro', - '-Wl,(-z,)?now' => '-Wl,-z,now', -); - - # MAIN # Additional hardening options.