Browse Source

[build] Remove nested "my" declaration

Fix build error with perl >= 5.23.2:

  Can't redeclare "my" in "my" at ./util/parserom.pl line 160

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Vinson Lee 8 years ago
parent
commit
f6e8b800be
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/util/parserom.pl

+ 1
- 1
src/util/parserom.pl View File

@@ -157,7 +157,7 @@ sub process_isa_rom {
157 157
 
158 158
 # Output Makefile rules for the specified ROM declarations
159 159
 sub print_make_rules {
160
-    my ( $state, my $image, my $desc, my $vendor, my $device, my $dup ) = @_;
160
+    my ( $state, $image, $desc, $vendor, $device, $dup ) = @_;
161 161
     unless ( $state->{'is_header_printed'} ) {
162 162
         print "# NIC\t\n";
163 163
         print "# NIC\tfamily\t$state->{family}\n";

Loading…
Cancel
Save