aboutsummaryrefslogtreecommitdiffstats
path: root/tools/checkhf.pl
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-03-24 19:52:29 -0400
committerMichael Mann <mmann78@netscape.net>2015-03-25 01:05:02 +0000
commit004cafd82bcad074dceb4f9a569897b71f7e913d (patch)
tree790a58582195a569e823aec0ca33c5d6b0d02465 /tools/checkhf.pl
parentb8b172cc342b07a5792e5cb0096f7f2f826aaa5d (diff)
Replace HF_EMPTY and ETT_EMPTY with -1
Change-Id: If3e89f8e46edd4eef82037b6b348fd70a9a3033d Reviewed-on: https://code.wireshark.org/review/7811 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'tools/checkhf.pl')
-rwxr-xr-xtools/checkhf.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/checkhf.pl b/tools/checkhf.pl
index aeec1982bc..21e4e2fb30 100755
--- a/tools/checkhf.pl
+++ b/tools/checkhf.pl
@@ -362,7 +362,6 @@ sub find_remove_hf_defs {
# Build pattern to match any of the following
# static? g?int hf_foo = -1;
- # static? g?int hf_foo = HF_EMPTY;
# static? g?int hf_foo[xxx];
# static? g?int hf_foo[xxx] = {
@@ -376,11 +375,11 @@ sub find_remove_hf_defs {
(hf_[a-zA-Z0-9_]+) # hf_..
}xmso;
- # p2a: ' = -1;' or ' = HF_EMPTY;'
+ # p2a: ' = -1;'
my $p2a_regex = qr{
\s* = \s*
(?:
- - \s* 1 | HF_EMPTY
+ - \s* 1
)
\s* ;
}xmso;