s3-rpc_server: remove proto of nonexisting function
authorGünther Deschner <gd@samba.org>
Fri, 29 Apr 2011 20:43:59 +0000 (22:43 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 2 May 2011 13:03:43 +0000 (15:03 +0200)
(rpc_pipe_register_commands).

Guenther

source3/include/proto.h
source3/rpc_server/srv_pipe_register.c

index aee1da9768288173a4ebac842a7d46e879e42295..5a4604cbf619379f09586277d1ff7d729eb7e146 100644 (file)
@@ -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  */
index 69d3ed198a0d246ce401a3cd1bf1ce2f5495124d..c3500c97be60cbd4be1005afb8a99d618ea4446a 100644 (file)
@@ -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;