summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-04 01:50:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:32 -0500
commiteb84275718ef9885ca333f01f8dba1bcbbe80692 (patch)
tree0ba0bc31c5e5274700e5c6c257d069a3754328b4 /source4/build/pidl
parent7c583b2adbe47ac0aa5a7e572707eeab488be8e3 (diff)
downloadsamba-eb84275718ef9885ca333f01f8dba1bcbbe80692.tar.gz
samba-eb84275718ef9885ca333f01f8dba1bcbbe80692.tar.bz2
samba-eb84275718ef9885ca333f01f8dba1bcbbe80692.zip
r2222: Generate correct function prototypes for unions marked as public.
(This used to be commit 04de3edbab106eec040c442eedb5bb3cfcfec778)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/eparser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/eparser.pm b/source4/build/pidl/eparser.pm
index 9692a9079f..a6f44b5b14 100644
--- a/source4/build/pidl/eparser.pm
+++ b/source4/build/pidl/eparser.pm
@@ -978,7 +978,7 @@ sub ParseHeader($$)
}
if ($d->{DATA}{TYPE} eq "UNION") {
- pidl "void ndr_pull_$d->{NAME}(struct ndr_pull *ndr, int ndr_flags, proto_tree *tree, struct $d->{NAME} *r, uint16 level);\n\n";
+ pidl "void ndr_pull_$d->{NAME}(struct ndr_pull *ndr, int ndr_flags, proto_tree *tree, union $d->{NAME} *r, uint16 level);\n\n";
}
}
}