diff options
author | Günther Deschner <gd@samba.org> | 2011-04-29 22:43:59 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-05-02 15:03:43 +0200 |
commit | c6fe379a4637dd1d5db34cbe4f566d3913b21fd2 (patch) | |
tree | f9d717e61298e3c3dad66bb046a580b614f66070 /source3 | |
parent | c1f3ff734043082a9488c787324e76a37702f94d (diff) | |
download | samba-c6fe379a4637dd1d5db34cbe4f566d3913b21fd2.tar.gz samba-c6fe379a4637dd1d5db34cbe4f566d3913b21fd2.tar.bz2 samba-c6fe379a4637dd1d5db34cbe4f566d3913b21fd2.zip |
s3-rpc_server: remove proto of nonexisting function
(rpc_pipe_register_commands).
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 4 | ||||
-rw-r--r-- | source3/rpc_server/srv_pipe_register.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index aee1da9768..5a4604cbf6 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2628,10 +2628,6 @@ struct pipes_struct; bool create_next_pdu(struct pipes_struct *p); bool api_pipe_bind_auth3(struct pipes_struct *p, struct ncacn_packet *pkt); bool setup_fault_pdu(struct pipes_struct *p, NTSTATUS status); -NTSTATUS rpc_pipe_register_commands(int version, const char *clnt, - const char *srv, - const struct ndr_syntax_id *interface, - const struct api_struct *cmds, int size); bool is_known_pipename(const char *cli_filename, struct ndr_syntax_id *syntax); /* The following definitions come from rpc_server/srv_pipe_hnd.c */ diff --git a/source3/rpc_server/srv_pipe_register.c b/source3/rpc_server/srv_pipe_register.c index 69d3ed198a..c3500c97be 100644 --- a/source3/rpc_server/srv_pipe_register.c +++ b/source3/rpc_server/srv_pipe_register.c @@ -198,7 +198,7 @@ NTSTATUS rpc_srv_register(int version, const char *clnt, const char *srv, rpc_entry = SMB_REALLOC_ARRAY_KEEP_OLD_ON_ERROR(rpc_lookup, struct rpc_table, rpc_lookup_size); if (NULL == rpc_entry) { rpc_lookup_size--; - DEBUG(0, ("rpc_pipe_register_commands: memory allocation failed\n")); + DEBUG(0, ("rpc_srv_register: memory allocation failed\n")); return NT_STATUS_NO_MEMORY; } else { rpc_lookup = rpc_entry; |