Skip to content

Commit af4f2fb

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

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
@@ -167,6 +167,7 @@ sub generate_proto_h {
167167
my $can_ignore = $flags !~ /[RP]/ && !$is_malloc;
168168
my $extensions_only = ( $flags =~ /E/ );
169169
my @asserts;
170+
my @attrs;
170171
my $func;
171172

172173
if (! $can_ignore && $retval eq 'void') {
@@ -363,7 +364,6 @@ sub generate_proto_h {
363364

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

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

0 commit comments

Comments
 (0)