1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r24507: pass $d down to HeaderTypedef

metze
(This used to be commit 0edec25af8)
This commit is contained in:
Stefan Metzmacher 2007-08-17 08:05:57 +00:00 committed by Gerald (Jerry) Carter
parent 9785c25519
commit 3d753b59a9

View File

@ -223,7 +223,7 @@ sub HeaderType($$$)
sub HeaderTypedef($)
{
my($typedef) = shift;
HeaderType($typedef, $typedef->{DATA}, $typedef->{NAME});
HeaderType($typedef, $typedef->{DATA}->{ORIGINAL}, $typedef->{NAME});
}
#####################################################################
@ -360,7 +360,7 @@ sub HeaderInterface($)
}
foreach my $d (@{$interface->{TYPES}}) {
HeaderTypedef($d->{ORIGINAL}) if ($d->{TYPE} eq "TYPEDEF");
HeaderTypedef($d) if ($d->{TYPE} eq "TYPEDEF");
HeaderStruct($d->{ORIGINAL}, $d->{NAME}) if ($d->{TYPE} eq "STRUCT");
HeaderUnion($d->{ORIGINAL}, $d->{NAME}) if ($d->{TYPE} eq "UNION");
HeaderEnum($d->{ORIGINAL}, $d->{NAME}) if ($d->{TYPE} eq "ENUM");