mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli/nbt: use NDR_SCALAR_PTR_PROTO() and fix the prototype of ndr_pull_wrepl_nbt_name()
This avoids compiler warnings in pidl generated code. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
bade65dac3
commit
ef2e05e441
@ -333,7 +333,7 @@ NTSTATUS nbt_name_reply_send(struct nbt_name_socket *nbtsock,
|
||||
struct nbt_name_packet *request);
|
||||
|
||||
|
||||
NDR_SCALAR_PROTO(wrepl_nbt_name, const struct nbt_name *)
|
||||
NDR_SCALAR_PTR_PROTO(wrepl_nbt_name, struct nbt_name)
|
||||
NDR_BUFFER_PROTO(nbt_name, struct nbt_name)
|
||||
NTSTATUS nbt_rcode_to_ntstatus(uint8_t rcode);
|
||||
|
||||
|
@ -324,7 +324,7 @@ _PUBLIC_ char *nbt_name_string(TALLOC_CTX *mem_ctx, const struct nbt_name *name)
|
||||
/**
|
||||
pull a nbt name, WINS Replication uses another on wire format for nbt name
|
||||
*/
|
||||
_PUBLIC_ enum ndr_err_code ndr_pull_wrepl_nbt_name(struct ndr_pull *ndr, int ndr_flags, const struct nbt_name **_r)
|
||||
_PUBLIC_ enum ndr_err_code ndr_pull_wrepl_nbt_name(struct ndr_pull *ndr, int ndr_flags, struct nbt_name **_r)
|
||||
{
|
||||
struct nbt_name *r;
|
||||
uint8_t *namebuf;
|
||||
|
Loading…
Reference in New Issue
Block a user