1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r14348: Fix location of #endif

(This used to be commit eb8687cdd4)
This commit is contained in:
Jelmer Vernooij 2006-03-13 22:32:41 +00:00 committed by Gerald (Jerry) Carter
parent 42e919b3b0
commit 35447f0a48

View File

@ -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;