Parcourir la 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 il y a 8 ans
Parent
révision
f6e8b800be
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/util/parserom.pl

+ 1
- 1
src/util/parserom.pl Voir le fichier

@@ -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";

Chargement…
Annuler
Enregistrer