mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
parent
42e919b3b0
commit
35447f0a48
@ -2237,11 +2237,6 @@ sub HeaderInterface($)
|
||||
|
||||
my $count = 0;
|
||||
|
||||
pidl_hdr "#ifndef _HEADER_RPC_$interface->{NAME}";
|
||||
pidl_hdr "#define _HEADER_RPC_$interface->{NAME}";
|
||||
|
||||
pidl_hdr "";
|
||||
|
||||
if (defined $interface->{PROPERTIES}->{depends}) {
|
||||
my @d = split / /, $interface->{PROPERTIES}->{depends};
|
||||
foreach my $i (@d) {
|
||||
@ -2293,7 +2288,6 @@ sub HeaderInterface($)
|
||||
|
||||
pidl_hdr "#define DCERPC_" . uc $interface->{NAME} . "_CALL_COUNT ($val)";
|
||||
|
||||
pidl_hdr "#endif /* _HEADER_RPC_$interface->{NAME} */";
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
@ -2302,6 +2296,11 @@ sub ParseInterface($$)
|
||||
{
|
||||
my($interface,$needed) = @_;
|
||||
|
||||
pidl_hdr "#ifndef _HEADER_RPC_$interface->{NAME}";
|
||||
pidl_hdr "#define _HEADER_RPC_$interface->{NAME}";
|
||||
|
||||
pidl_hdr "";
|
||||
|
||||
HeaderInterface($interface);
|
||||
|
||||
# Typedefs
|
||||
@ -2329,6 +2328,8 @@ sub ParseInterface($$)
|
||||
}
|
||||
|
||||
FunctionTable($interface);
|
||||
|
||||
pidl_hdr "#endif /* _HEADER_RPC_$interface->{NAME} */";
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
@ -2422,4 +2423,3 @@ sub NeededInterface($$)
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user