Skip to content

Commit eeb36dc

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

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
@@ -138,6 +138,7 @@ sub generate_proto_h {
138138
my $can_ignore = $flags !~ /[RP]/ && !$is_malloc;
139139
my $extensions_only = ( $flags =~ /E/ );
140140
my @asserts;
141+
my @attrs;
141142
my $func;
142143

143144
if (! $can_ignore && $retval eq 'void') {
@@ -334,7 +335,6 @@ sub generate_proto_h {
334335

335336
push @asserts, @$assertions if $assertions;
336337

337-
my @attrs;
338338
if ( $flags =~ /r/ ) {
339339
push @attrs, "__attribute__noreturn__";
340340
}

0 commit comments

Comments
 (0)