From c1e81686af605bf0dafb45c316bfca3cd1a2cf9a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 28 Jul 2010 09:23:25 +0200 Subject: pidl: Use struct pipes_struct. --- pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm index 04475d26c9..1f6641522c 100644 --- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm +++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm @@ -100,7 +100,7 @@ sub CallWithStruct($$$$) pidl "ZERO_STRUCT(r->out);" if ($hasout); - my $proto = "_$fn->{NAME}(pipes_struct *p, struct $fn->{NAME} *r"; + my $proto = "_$fn->{NAME}(struct pipes_struct *p, struct $fn->{NAME} *r"; my $ret = "_$fn->{NAME}($pipes_struct, r"; foreach (@{$fn->{ELEMENTS}}) { my @dir = @{$_->{DIRECTION}}; @@ -138,7 +138,7 @@ sub ParseFunction($$) my $op = "NDR_".uc($fn->{NAME}); - pidl "static bool api_$fn->{NAME}(pipes_struct *p)"; + pidl "static bool api_$fn->{NAME}(struct pipes_struct *p)"; pidl "{"; indent; pidl "const struct ndr_interface_call *call;"; -- cgit