Skip to content

Commit d47012d

Browse files
committed
regen/embed.pl: Move 'my' declaration
The next commit will want this to be available earlier.
1 parent c2ff7e8 commit d47012d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regen/embed.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ sub generate_proto_h {
166166
my $can_ignore = $flags !~ /[RP]/ && !$is_malloc;
167167
my $extensions_only = ( $flags =~ /E/ );
168168
my @asserts;
169+
my @attrs;
169170
my $func;
170171

171172
if (! $can_ignore && $retval eq 'void') {
@@ -362,7 +363,6 @@ sub generate_proto_h {
362363

363364
push @asserts, @$assertions if $assertions;
364365

365-
my @attrs;
366366
if ( $flags =~ /r/ ) {
367367
push @attrs, "__attribute__noreturn__";
368368
}

0 commit comments

Comments
 (0)