Make lists of constants, structs and funcs global within the rxgen perl script
and any modules it uses.
Signed-off-by: David Howells <dhowells@redhat.com>
die "Need list of sources\n" if ($#ARGV < 0);
-my @structs = (); # Structure definitions
-my %struct_sizes = (); # Structure sizes
-my %funcs = (); # Function declarations
-my %constants = (); # #defined constants
+our @structs = (); # Structure definitions
+our %struct_sizes = (); # Structure sizes
+our %funcs = (); # Function declarations
+our %constants = (); # #defined constants
#
# Divide the lines from the files up into typed collections