Skip to content

Commit d2f07cb

Browse files
committed
regen/embed.pl: Move declaration to first use
1 parent d8427e4 commit d2f07cb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

regen/embed.pl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ BEGIN
5959
$has_compat_macro{$_} = 1 for @have_compatibility_macros;
6060
my %perl_compats; # Have 'perl_' prefix
6161

62-
my $unflagged_pointers;
63-
6462
#
6563
# See database of global and static function prototypes in embed.fnc
6664
# This is used to generate prototype headers under various configurations,
@@ -132,6 +130,10 @@ sub open_buf_out {
132130
# take non-initialised GV pointers
133131
);
134132

133+
# Pointer arguments that erroneously don't indicate whether they can be NULL,
134+
# etc.
135+
my $unflagged_pointers;
136+
135137
# generate proto.h
136138
sub generate_proto_h {
137139
my ($all)= @_;

0 commit comments

Comments
 (0)