summaryrefslogtreecommitdiff
path: root/source4/build/pidl/Parse/Pidl/Samba/NDR
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/Parse/Pidl/Samba/NDR')
-rw-r--r--source4/build/pidl/Parse/Pidl/Samba/NDR/Header.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/build/pidl/Parse/Pidl/Samba/NDR/Header.pm b/source4/build/pidl/Parse/Pidl/Samba/NDR/Header.pm
index 7959ef1e22..a460d1c588 100644
--- a/source4/build/pidl/Parse/Pidl/Samba/NDR/Header.pm
+++ b/source4/build/pidl/Parse/Pidl/Samba/NDR/Header.pm
@@ -387,6 +387,7 @@ sub HeaderInterface($)
foreach my $d (@{$interface->{DATA}}) {
next if $d->{TYPE} ne "FUNCTION";
next if has_property($d, "noopnum");
+ next if grep(/$d->{NAME}/,@{$interface->{INHERITED_FUNCTIONS}});
my $u_name = uc $d->{NAME};
pidl "#define DCERPC_$u_name (";