1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

r2222: Generate correct function prototypes for unions marked as public.

(This used to be commit 04de3edbab106eec040c442eedb5bb3cfcfec778)
This commit is contained in:
Tim Potter 2004-09-04 01:50:11 +00:00 committed by Gerald (Jerry) Carter
parent 7c583b2adb
commit eb84275718

View File

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